forked from Qortal/qortal
This replaces the existing GET /site/{name} API endpoints. Example settings: "gatewayServiceEnabled": true, "gatewayServicePort": 80 Websites can then be served using URL: http://localhost/RegisteredName Or, if node is behind public DNS: http://example.com/RegisteredName Or, if a custom port (such as 12393) is used: http://localhost:12393/RegisteredName http://example.com:12393/RegisteredName This is currently for serving websites only, but can be adapted to serve other services if needed.