Add static context
Publish Docker image / Push Docker image to Docker Hub (push) Successful in 1m12s

This commit is contained in:
Mathias committed 2025-02-27 21:37:59 +01:00
1 parent d98dceee75
commit 77e71412d7
2 files changed
+6 -1

No files matched your search

+5
View File
@@ -2,6 +2,11 @@ const express = require("express");
const { Server } = require("socket.io");
const http = require("http");
const app = express();
const path = require("path");
app.use(express.static(path.join(__dirname, './dist')));
app.get('*', (req, res) => res.sendFile(path.join(__dirname, './dist', 'index.html')));
app.disable("x-powered-by");