diff --git a/frontend/apps/editor2d/netlify.toml b/frontend/apps/editor2d/netlify.toml index 3e00628a69..781f5e9f8c 100644 --- a/frontend/apps/editor2d/netlify.toml +++ b/frontend/apps/editor2d/netlify.toml @@ -1,5 +1,5 @@ [build] -#command = "./script/netlify_build.sh" +command = "./apps/editor2d/script/netlify_build.sh" publish = "apps/editor2d/dist/" #[build.environment] @@ -16,7 +16,6 @@ publish = "apps/editor2d/dist/" for = "/build/*" [headers.values] - "Cache-Control" = "public, max-age=31560000, immutable" # [[redirects]] diff --git a/frontend/apps/editor3d/netlify.toml b/frontend/apps/editor3d/netlify.toml index 293d8ad71a..69f73e3d2c 100644 --- a/frontend/apps/editor3d/netlify.toml +++ b/frontend/apps/editor3d/netlify.toml @@ -1,15 +1,14 @@ [build] -#command = "./script/netlify_build.sh" -#publish = "build/client" +command = "./apps/editor3d/script/netlify_build.sh" publish = "apps/editor3d/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" +#[dev] +#command = "npm run dev" +#framework = "vite" # Set immutable caching for static files, because they have fingerprinted filenames @@ -17,7 +16,6 @@ framework = "vite" for = "/build/*" [headers.values] - "Cache-Control" = "public, max-age=31560000, immutable" [[redirects]]