diff --git a/.tests/pre-commit-frontend.sh b/.tests/pre-commit-frontend.sh index 2789129..4960947 100755 --- a/.tests/pre-commit-frontend.sh +++ b/.tests/pre-commit-frontend.sh @@ -5,7 +5,7 @@ UI_DIR="./hyperglass/ui" if git diff --cached --name-only | grep --quiet $UI_DIR then cd $UI_DIR - yarn typecheck + node_modules/.bin/tsc else echo "No frontend files have changed, skipping pre-commit check..." exit 0 diff --git a/hyperglass/ui/nextdev.js b/hyperglass/ui/nextdev.js index 0facba9..05e6667 100644 --- a/hyperglass/ui/nextdev.js +++ b/hyperglass/ui/nextdev.js @@ -8,6 +8,7 @@ const config = require(String(configFile)); const { NODE_ENV: env, _HYPERGLASS_URL_: envUrl } = config; +// testing const devProxy = { '/api/query/': { target: envUrl + 'api/query/', pathRewrite: { '^/api/query/': '' } }, '/images': { target: envUrl + 'images', pathRewrite: { '^/images': '' } },