We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a94969 commit 5a1fbdeCopy full SHA for 5a1fbde
workshop/exercises/app/vite.config.js
@@ -12,7 +12,8 @@ const inputFiles = readdirSync(__dirname)
12
export default {
13
base: '', // otherwise assets are located at /assets
14
server: {
15
- host: true,
+ host: true, // allow connections from other Docker containers
16
+ allowedHosts: ['node', 'geographika.github.io'], // allow access using http://node:5001 from the mapserver container
17
port: 5001,
18
watch: {
19
// fix for Windows on WSL - https://github.com/vitejs/vite/issues/1153
0 commit comments