fix: Update imports
This commit is contained in:
4608
package-lock.json
generated
4608
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
17
package.json
17
package.json
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user