This commit is contained in:
mm 2024-10-29 22:27:26 +05:00
parent 1a2cbfb6cd
commit 0205ab96ae
2 changed files with 2 additions and 1 deletions

View File

@ -157,6 +157,7 @@ func GetMediaFile(widgetService model.WidgetService) echo.HandlerFunc {
mediaType := request.Param("mediaType")
if mediaType != "background" && mediaType != "image" && mediaType != "audio" {
slog.Error("Path parameter 'mediaType' is invalid")
return echo.NewHTTPError(400, "Path parameter 'mediaType' is invalid")
}

View File

@ -93,7 +93,7 @@ let audio;
const contentDiv = document.getElementById('content');
async function widgetView() {
let baseUrl = 'http://92.118.114.148:8002/api'
let baseUrl = 'http://147.45.237.174:8002/api'
let streamerID = '%v'
while (true) {