mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 17:38:10 +00:00
Co-authored-by: Michael Chung <michaelchung@Michaels-MacBook-Pro-2.local> Co-authored-by: Michael Chung <michaelchung@michaels-mbp-2.home>
34 lines
820 B
TOML
34 lines
820 B
TOML
[build]
|
|
command = "./apps/editor2d/script/netlify_build.sh"
|
|
publish = "apps/editor2d/dist/"
|
|
|
|
#[build.environment]
|
|
#REACT_APP_PUBLIC_POSTHOG_KEY = "phc_jBFgac0mVALAFk3negnSfYCcHgvkT00yBLQDmCDYNBb"
|
|
#REACT_APP_PUBLIC_POSTHOG_UI = "https://us.i.posthog.com"
|
|
|
|
#[dev]
|
|
#command = "npm run dev"
|
|
#framework = "vite"
|
|
|
|
# Set immutable caching for static files, because they have fingerprinted filenames
|
|
|
|
[[headers]]
|
|
for = "/build/*"
|
|
|
|
[headers.values]
|
|
"Cache-Control" = "public, max-age=31560000, immutable"
|
|
|
|
# [[redirects]]
|
|
# from = "/ingest/static/*"
|
|
# to = "https://us-assets.i.posthog.com/static/:splat"
|
|
# host = "us-assets.i.posthog.com"
|
|
# status = 200
|
|
# force = true
|
|
#
|
|
# [[redirects]]
|
|
# from = "/ingest/*"
|
|
# to = "https://us.i.posthog.com/:splat"
|
|
# host = "us.i.posthog.com"
|
|
# status = 200
|
|
# force = true
|