mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 23:03:45 +02:00
Add EULA acceptance popup when starting server
This commit is contained in:
@@ -69,7 +69,7 @@ $(document).ready(function () {
|
||||
$('#save_file').append(' <i class="fa fa-spinner fa fa-spin"></i>').addClass('disabled');
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: '/server/{{ $server->uuidShort }}/ajax/files/save',
|
||||
url: '{{ route('server.files.save', $server->uuidShort) }}',
|
||||
headers: { 'X-CSRF-Token': '{{ csrf_token() }}' },
|
||||
data: {
|
||||
file: fileName,
|
||||
|
||||
@@ -114,7 +114,7 @@
|
||||
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: '/server/{{ $server->uuidShort }}/ajax/files/directory-list',
|
||||
url: '{{ route('server.files.directory-list', $server->uuidShort) }}',
|
||||
headers: { 'X-CSRF-Token': '{{ csrf_token() }}' },
|
||||
data: { directory: urlDirectory }
|
||||
}).done(function (data) {
|
||||
|
||||
Reference in New Issue
Block a user