mirror of
https://github.com/valitydev/redash.git
synced 2024-11-06 17:15:17 +00:00
ff008a076b
* Upgraded Cypress to v5.3 and fixed e2e tests * Updated cypress image * Fixed failing tests * Updated NODE_VERSION in netlify * Update client/cypress/integration/visualizations/choropleth_spec.js Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com> * fixed test in choropleth Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com>
45 lines
886 B
TOML
45 lines
886 B
TOML
[build]
|
|
base = "client"
|
|
publish = "client/dist"
|
|
command = "npm ci && npm run build"
|
|
|
|
[build.environment]
|
|
NODE_VERSION = "12.18.4"
|
|
CYPRESS_INSTALL_BINARY = "0"
|
|
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD = "1"
|
|
|
|
[[redirects]]
|
|
from = "/api/*"
|
|
to = "http://preview-backend.redashapp.com/api/:splat"
|
|
status = 200
|
|
|
|
[[redirects]]
|
|
from = "/login"
|
|
to = "http://preview-login.redashapp.com/login"
|
|
status = 200
|
|
|
|
[[redirects]]
|
|
from = "/logout"
|
|
to = "http://preview-backend.redashapp.com/logout"
|
|
status = 200
|
|
|
|
[[redirects]]
|
|
from = "/status.json"
|
|
to = "http://preview-backend.redashapp.com/status.json"
|
|
status = 200
|
|
|
|
[[redirects]]
|
|
from = "/static/server*"
|
|
to = "http://preview-backend.redashapp.com/static/server:splat"
|
|
status = 200
|
|
|
|
[[redirects]]
|
|
from = "/static/*"
|
|
to = "/:splat"
|
|
status = 200
|
|
|
|
[[redirects]]
|
|
from = "/*"
|
|
to = "/index.html"
|
|
status = 200
|