Added an option to set the deployment path. Fixes #41

This commit is contained in:
emeric
2020-03-29 20:07:52 +02:00
parent 3727c64a13
commit eb20ade14d
4 changed files with 6 additions and 2 deletions
@@ -36,7 +36,7 @@ class SubsonicResource final : public Wt::WResource
public:
SubsonicResource(Database::Db& db);
static std::string getPath() { return "/rest/"; }
static std::string getPath() { return "rest/"; }
private:
void handleRequest(const Wt::Http::Request &request, Wt::Http::Response &response) override;