fix: Update imports

This commit is contained in:
2025-06-17 23:25:38 +10:00
parent ea2bcbb217
commit 54e98f451e
3 changed files with 33 additions and 4594 deletions

4608
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -3,15 +3,26 @@
"version": "1.0.0",
"description": "IPFS Gateway for Handshake Domains",
"main": "server.js",
"keywords": [
"ipfs",
"handshake",
"gateway",
"hns",
"decentralized"
],
"author": "Nathan.Woodburn/",
"scripts": {
"start": "node server.js",
"dev": "nodemon server.js"
},
"dependencies": {
"express": "^4.17.1",
"node-fetch": "^2.6.7"
"express": "^4.18.2",
"dotenv": "^16.0.3",
"node-cache": "^5.1.2",
"cors": "^2.8.5",
"morgan": "^1.10.0"
},
"devDependencies": {
"nodemon": "^2.0.15"
}
}
}

View File

@@ -32,7 +32,7 @@ app.use(express.static(path.join(__dirname, 'public')));
// Status endpoint
app.get('/api/status', (req, res) => {
res.json({ status: 'online', version: '0.1.1' });
res.json({ status: 'online', version: '1.0.0' });
});
// New route: Handle root domain requests with direct domain format