diff options
author | 2021-08-20 16:33:15 -0300 | |
---|---|---|
committer | 2021-08-20 12:33:15 -0700 | |
commit | 8e6fb50fa15082a0d794b074bde9d652c0c88470 (patch) | |
tree | 034699c3d200dc2fbd8ef6af01268918ae6b78b7 /examples | |
parent | 3e605d7ee9af8f7ec3b24fd83282cbc3e4b72862 (diff) | |
download | astro-8e6fb50fa15082a0d794b074bde9d652c0c88470.tar.gz astro-8e6fb50fa15082a0d794b074bde9d652c0c88470.tar.zst astro-8e6fb50fa15082a0d794b074bde9d652c0c88470.zip |
CodeSandbox-izing via template override (#1167)
* initial commit
* Added to config to specify port and node version. I think this will be all that's needed.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/starter/public/favicon.ico | bin | 4286 -> 84 bytes | |||
-rw-r--r-- | examples/starter/sandbox.config.json | 11 |
2 files changed, 11 insertions, 0 deletions
diff --git a/examples/starter/public/favicon.ico b/examples/starter/public/favicon.ico Binary files differindex 578ad458b..9795f8eb7 100644 --- a/examples/starter/public/favicon.ico +++ b/examples/starter/public/favicon.ico diff --git a/examples/starter/sandbox.config.json b/examples/starter/sandbox.config.json new file mode 100644 index 000000000..9178af77d --- /dev/null +++ b/examples/starter/sandbox.config.json @@ -0,0 +1,11 @@ +{ + "infiniteLoopProtection": true, + "hardReloadOnChange": false, + "view": "browser", + "template": "node", + "container": { + "port": 3000, + "startScript": "start", + "node": "14" + } +} |