diff options
Diffstat (limited to 'src/api/structures/Server.js')
| -rw-r--r-- | src/api/structures/Server.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/api/structures/Server.js b/src/api/structures/Server.js index c80c44f..44d4e44 100644 --- a/src/api/structures/Server.js +++ b/src/api/structures/Server.js @@ -37,8 +37,9 @@ class Server { // Serve the frontend if we are in production mode if (process.env.NODE_ENV === 'production') { this.server.use(express.static(path.join(__dirname, '..', '..', '..', 'dist'))); - this.server.use(express.static(path.join(__dirname, '..', '..', '..', 'uploads'))); } + // Serve the uploads + this.server.use(express.static(path.join(__dirname, '..', '..', '..', 'uploads'))); this.routesFolder = path.join(__dirname, '..', 'routes'); } |