Skip to content

Commit 307f7d1

Browse files
committed
make it possible to delete stream urls with slashes in the stream key
1 parent 53da349 commit 307f7d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

slscore/SLSApiServer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ void CSLSApiServer::setupEndpoints() {
163163
handleStreamIdsPost(req, res);
164164
});
165165

166-
m_server.Delete(R"(/api/stream-ids/([^/]+))", [this](const httplib::Request& req, httplib::Response& res) {
166+
m_server.Delete(R"(/api/stream-ids/(.+))", [this](const httplib::Request& req, httplib::Response& res) {
167167
handleStreamIdsDelete(req, res);
168168
});
169169

0 commit comments

Comments
 (0)