MLH-Fellowship / babel-sandbox

Babel repl-like codesandbox: check out link =>
https://codesandbox.io/s/github/babel/sandboxes
MIT License
6 stars 3 forks source link

Switch to using /#/:share instead of /:share #130

Closed ianjennings closed 4 years ago

ianjennings commented 4 years ago

Netlify was having trouble with the raw /share links. This uses an anchor/hash to instruct Netlify not to try to route into a new directory.

/share/id becomes /#/share/id.

Depends on https://github.com/MLH-Fellowship/babel-sandbox-server/pull/20

mohammedsahl commented 4 years ago

FYI for reviewers, I tested this with https://github.com/MLH-Fellowship/babel-sandbox-server/pull/20 and it works fine