nodebox / seed

Procedural Content Generator
https://seed.emrg.be/
MIT License
22 stars 8 forks source link

Add a `/view` route that shows just the sketch result #32

Open fdb opened 6 years ago

fdb commented 6 years ago

Add a special route, either in editor.js or using firebase.json to just show the result of the sketch without the editor. This page should:

This is needed to solve #16 .

TanviKumar commented 6 years ago

I'd like to work on this! By render the script do you mean to say, show the code written and the output as well, like how the site looks now except its a view-only HTML page.

fdb commented 6 years ago

I've already started work on this — I'll make a PR soon. However, I'm still waiting a bit on support for HTTP get (See #34)

fdb commented 6 years ago

See PR #36 for a first stab at the implementation.