Skip to content

feat: save state as gist #232

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Jul 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
.rts2_cache*
.idea
.cache
.parcel-cache

dist/
node_modules/
local/

# Local Netlify folder
.netlify
.env
5 changes: 5 additions & 0 deletions .proxyrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"/api": {
"target": "http://localhost:8888/"
}
}
7 changes: 4 additions & 3 deletions _redirects
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/oembed /.netlify/functions/oembed 200!
/ /.netlify/functions/server 200!
/* /.netlify/functions/server 200
/oembed /.netlify/functions/oembed 200!
/api/gist/* /.netlify/functions/gist 200!
/ /.netlify/functions/server 200!
/* /.netlify/functions/server 200
6 changes: 6 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,9 @@
command = "npm run build"
functions = "./dist/server"
publish = "./dist/client"

[dev]
functions = "./src/lambda"

[template.environment]
GITHUB_GIST_TOKEN = "set token that has gist access"
Loading