mirror of
https://github.com/hkalexling/Mango.git
synced 2026-04-30 00:00:43 -04:00
Use base url in JS files
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
$(() => {
|
||||
var target = '/admin/user/edit';
|
||||
var target = base_url + 'admin/user/edit';
|
||||
if (username) target += username;
|
||||
$('form').attr('action', target);
|
||||
if (error) alert('danger', error);
|
||||
|
||||
Reference in New Issue
Block a user