Add all resources, change paths
This commit is contained in:
@@ -47,7 +47,7 @@ function catchErrors(error) {
|
||||
}
|
||||
|
||||
async function performRequest(name, path) {
|
||||
let text = await fetch("festival/api/" + path, {
|
||||
let text = await fetch("/festival/api/" + path, {
|
||||
method: 'POST',
|
||||
body: name
|
||||
}).then(handleErrors).catch(catchErrors);
|
||||
@@ -59,6 +59,6 @@ async function performRequest(name, path) {
|
||||
return false;
|
||||
}
|
||||
|
||||
function downloadEvent(file) {
|
||||
window.location= "files/" + file
|
||||
}
|
||||
function download(file) {
|
||||
window.location = file
|
||||
}
|
||||
|
Reference in New Issue
Block a user