Skip to content

Commit

Permalink
Merge pull request #141 from CatMe0w/patch-vite-conf
Browse files Browse the repository at this point in the history
Use a minimal Vite serving allow list
  • Loading branch information
ianthetechie authored Jul 10, 2024
2 parents 7069eb5 + 3417c2c commit 8f0b15a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { defineConfig } from "vite";
export default defineConfig({
server: {
fs: {
// Allow serving files from one level up to the project root
allow: [".."],
// Allow serving the wasm module
allow: [".", "../common/ferrostar/pkg"],
},
},
});

0 comments on commit 8f0b15a

Please sign in to comment.