mirror of
https://github.com/spacedeck/spacedeck-open.git
synced 2025-12-15 17:37:30 +01:00
wip: migrate from deprecated swig templates to ejs
This commit is contained in:
@@ -59,9 +59,6 @@ function load_resource(method, path, data, on_success, on_error, on_progress) {
|
||||
if (channel_id) {
|
||||
req.setRequestHeader("X-Spacedeck-Channel", channel_id);
|
||||
}
|
||||
if (csrf_token) {
|
||||
req.setRequestHeader("X-csrf-token", csrf_token);
|
||||
}
|
||||
|
||||
try {
|
||||
if (data) {
|
||||
|
||||
Reference in New Issue
Block a user