代码拉取完成,页面将自动刷新
同步操作将从 coding/redash 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
[build]
base = "client"
publish = "client/dist"
# Netlify doesn't seem to install Yarn even though NETLIFY_USE_YARN is set below
# command = "cd ../ && npm i -g yarn@1.22.10 && yarn --frozen-lockfile --force && cd viz-lib && yarn build:babel && cd .. && rm -r ./node_modules/@redash/viz && cp -r ./viz-lib/. ./node_modules/@redash/viz && yarn build && cd ./client"
command = "cd ../ && npm i -g yarn@1.22.10 && yarn cache clean && yarn --frozen-lockfile --network-concurrency 1 && yarn build && cd ./client"
[build.environment]
NODE_VERSION = "14.16.1"
NETLIFY_USE_YARN = "true"
YARN_VERSION = "1.22.10"
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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。