mirror of
https://github.com/Zandercraft/TechnicFlux.git
synced 2026-10-29 04:39:20 +00:00
Add database and config file support.
This commit is contained in:
@@ -53,12 +53,12 @@ router.get('/mod/:modname/:modversion', (req, res) => {
|
||||
})
|
||||
|
||||
router.get('/modpack', (req, res) => {
|
||||
// No Slug
|
||||
// Modpack Index
|
||||
res.json({
|
||||
"modpacks": {
|
||||
"test": "Example Modpack"
|
||||
"slug": "Example Modpack Pretty Name"
|
||||
},
|
||||
"mirror_url": "https://example.com/"
|
||||
"mirror_url": `http://${process.env.HOST}/mods`
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user