File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed
Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -390,14 +390,27 @@ Switch `active_data_source` and update URLs/credentials via the **Settings** pan
390390go run main.go
391391# For build:
392392# go build -o middleware-manager main.go
393+
394+ ` ` `
395+ Tip : Use this command if you need to set a hostname record in /etc/hosts for pangolin based on the internal IP for the pangolin container
396+ ` ` `
397+ docker network inspect -v pangolin
393398` ` `
394399
395400# ## Frontend
396401
397402` ` ` bash
398403cd ui
399- # If node_modules is missing: npm install (or yarn install)
400- npm start # or yarn start
404+ cp src/package.json .
405+ npm install
406+ npm start
407+ ` ` `
408+ Note : if you are getting an error such as `options.allowedHosts[0] should be a non-empty string`
409+
410+ you should create a .env file in /ui folder. Do not do this in production (development only)
411+
412+ ` ` ` sh
413+ DANGEROUSLY_DISABLE_HOST_CHECK=true
401414` ` `
402415
403416# # License
You can’t perform that action at this time.
0 commit comments