Remove unnecessary static folder serving

This commit is contained in:
Saúl Ibarra Corretgé 2022-11-15 13:11:50 +01:00 committed by GitHub
parent 56fc759099
commit 8ccd9d91f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,8 +18,6 @@ dotenv.config(
const app = express();
const port = process.env.PORT || 80; // default port to listen
app.use(express.static('public'));
app.get('/', (req, res) => {
res.send('Excalidraw backend is up :)');
});