API working

This commit is contained in:
Ryan Shpeherd
2026-09-09 11:19:00 -04:00
parent ea46d418bd
commit e4e5d75336
6 changed files with 24 additions and 14 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ get '/api/v1/video' => sub {
}
return $ref;
}
};
get '/api/v1/video/:video' => sub {
my $video = route_parameters->get("video");
+1 -1
View File
@@ -13,7 +13,7 @@ plugins:
host: 'mariadb'
port: 3306
username: 'videodetect'
password: 'videodetect123'
password: 'changeme_videodetect'
connection_check_threshold: 10
dbi_params:
RaiseError: 1