Closed rbonillajr closed 7 years ago
how to add router prefix
I added it in configuration/config.de.json and it does not work
example: { "database": { "connectionString": "mongodb://localhost/taskdb-dev" }, "server": { "routes": { "prefix": "/api" }, "port": 5000, "jwtSecret": "random-secret-password", "jwtExpiration": "1h", "plugins": [ "logger", "swagger", "jwt-auth" ] } }
how to add router prefix
I added it in configuration/config.de.json and it does not work
example: { "database": { "connectionString": "mongodb://localhost/taskdb-dev" }, "server": { "routes": { "prefix": "/api" }, "port": 5000, "jwtSecret": "random-secret-password", "jwtExpiration": "1h", "plugins": [ "logger", "swagger", "jwt-auth" ] } }