diff options
| author | Carson Fleming <cflems@cflems.net> | 2023-10-20 23:37:28 -0400 |
|---|---|---|
| committer | Carson Fleming <cflems@cflems.net> | 2023-10-20 23:37:28 -0400 |
| commit | 5636edd5b6af3486284b430f660b1b9e309a3671 (patch) | |
| tree | f065d63d75ba3aa08eefa51c2cab407dcac859c6 /index.js | |
| parent | 5b4f8c220bbcbe1ee4b684f91db7cc419e423a41 (diff) | |
| download | fle.ms-5636edd5b6af3486284b430f660b1b9e309a3671.tar.gz | |
Bring it all together and nitpick the appearance
Diffstat (limited to 'index.js')
| -rw-r--r-- | index.js | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -2,7 +2,6 @@ const express = require('express'); const mongoose = require('mongoose'); const config = require('./config.js'); const routes = require('./routes.js'); -const apiRoutes = require('./api-routes.js'); async function serve() { try { @@ -21,7 +20,6 @@ async function serve() { app.use(express.urlencoded({extended: true})); app.use(express.json()); - app.use('/api', apiRoutes); app.use('/css', express.static(__dirname+'/static/css')); app.use('/js', express.static(__dirname+'/static/js')); app.use('/', routes); |
