Adds squid to dev/CI stacks

- for testing forwarded ip address later
This commit is contained in:
Jamie Curnow
2024-10-13 21:54:58 +10:00
parent 5aeb99b856
commit b01817bc7f
6 changed files with 127 additions and 7 deletions

View File

@ -15,8 +15,8 @@ module.exports = defineConfig({
return require("../plugins/index.js")(on, config);
},
env: {
swaggerBase: '{{baseUrl}}/api/schema',
swaggerBase: 'http://npm:81/api/schema',
},
baseUrl: 'http://localhost:1234',
baseUrl: 'http://npm:81',
}
});

View File

@ -15,8 +15,8 @@ module.exports = defineConfig({
return require("../plugins/index.js")(on, config);
},
env: {
swaggerBase: '{{baseUrl}}/api/schema',
swaggerBase: 'http://npm:81/api/schema',
},
baseUrl: 'http://localhost:1234',
baseUrl: 'http://npm:81',
}
});

View File

@ -19,8 +19,8 @@
"mocha-junit-reporter": "^2.2.1"
},
"scripts": {
"cypress": "cypress open --config-file=cypress/config/dev.js --config baseUrl=${BASE_URL:-http://127.0.0.1:3081}",
"cypress:headless": "cypress run --config-file=cypress/config/dev.js --config baseUrl=${BASE_URL:-http://127.0.0.1:3081}"
"cypress": "HTTP_PROXY=127.0.0.1:8128 HTTPS_PROXY=127.0.0.1:8128 cypress open --config-file=cypress/config/dev.js",
"cypress:headless": "HTTP_PROXY=127.0.0.1:8128 HTTPS_PROXY=127.0.0.1:8128 cypress run --config-file=cypress/config/dev.js"
},
"author": "",
"license": "ISC"