From 51b092f6a3a30a1d414508010c4fd8c8cb768b17 Mon Sep 17 00:00:00 2001 From: Fons van der Plas Date: Mon, 2 Oct 2023 17:25:39 +0200 Subject: [PATCH] netlify.toml --- .github/workflows/Export.yml | 3 ++- netlify.toml | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 netlify.toml diff --git a/.github/workflows/Export.yml b/.github/workflows/Export.yml index 1de4ff3..8c84335 100644 --- a/.github/workflows/Export.yml +++ b/.github/workflows/Export.yml @@ -60,7 +60,8 @@ jobs: Export_output_dir="output", Export_cache_dir="pluto_state_cache", # more parameters can go here - )' + ) + cp("netlify.toml", joinpath("output", "netlify.toml"))' - name: Deploy to dist diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..cdfd55c --- /dev/null +++ b/netlify.toml @@ -0,0 +1,4 @@ +[[headers]] + for = "/*" + [headers.values] + Access-Control-Allow-Origin = "*" \ No newline at end of file