RangerMauve / dat-gateway

Visit https://github.com/garbados/dat-gateway/ instead
19 stars 4 forks source link

Use web_root from dat.json #12

Open brechtcs opened 6 years ago

brechtcs commented 6 years ago

Currently, dat_gateway serves a directory index of the dat's root folder, even if there's a subfolder set as web_root in dat.json.

RangerMauve commented 6 years ago

I got started on this transition in hyperdrive-http.

Though I think I'm going to instead create something in dat-gateway directly that's based on the logic in beaker/hashbase.

RangerMauve commented 6 years ago

https://github.com/datproject/hyperdrive-http/pull/45