Closed rjcorwin closed 6 years ago
I just merged the big refactoring change into master. The node app server is located at www/nodejs-project/index.js. Can you add your routes in server/index.js to www/nodejs-project/index.js?
Thanks for the heads up @chrisekelley. Looks like we might go with the dat-gateway project + some improvements instead. TBD.
I'll close this PR since we're now using dat-gateway instead.
WIP
/add/:uuid
route is to add the archive to a map.json file that maps shortnames to dat UUIDs so you can hit the dat uuid of5f55b448f58407c36c1bac1432dcc703b3a6291c78fd4d0a957c2dbbda7783u9
athttp://7783u9.lvh.me
./add/:uuid
is to forward the user to thehttp://<shortname>.lvh.me
address.http://bunsen.lvh.me
subdomain with the static bunsen app.