We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b049123 commit 3c60419Copy full SHA for 3c60419
src/server/index.ts
@@ -7,6 +7,11 @@ const app = express()
7
const http = createServer(app)
8
const port = 1616
9
10
+app.use((req, res, next) => {
11
+ res.set('Cache-Control', 'no-store')
12
+ next()
13
+})
14
+
15
app.use("/game", express.static("src/client/game", { index: "game.html" }))
16
app.use("/play", express.static("src/client/play", { index: "play.html" }))
17
app.use("/room", express.static("src/client/room", { index: "room.html" }))
0 commit comments