diff options
Diffstat (limited to 'test')
-rwxr-xr-x | test/_headers | 2 | ||||
-rw-r--r-- | test/package.json | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/test/_headers b/test/_headers new file mode 100755 index 0000000..f2d986b --- /dev/null +++ b/test/_headers @@ -0,0 +1,2 @@ +/* + Access-Control-Allow-Origin: * diff --git a/test/package.json b/test/package.json index 52960ed..74665d2 100644 --- a/test/package.json +++ b/test/package.json @@ -8,7 +8,7 @@ "kronikarz": "^2.0.0" }, "scripts": { - "build": "mkdir -p ../api/api && touch ../api/api/posts.json && node -r esm build.js", + "build": "mkdir -p ../api/api && touch ../api/api/posts.json && node -r esm build.js && cp _headers ../api", "test": "./validator.sh" }, "keywords": [], |