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