mirror of
https://github.com/ComputerScienceHouse/proxstar.git
synced 2025-02-12 13:01:51 +00:00
Update script.js
This commit is contained in:
parent
3c3db3747c
commit
64aa140398
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ $("#create-vm").click(function(){
|
||||||
const max_cpu = $(this).data('max_cpu');
|
const max_cpu = $(this).data('max_cpu');
|
||||||
const max_mem = $(this).data('max_mem');
|
const max_mem = $(this).data('max_mem');
|
||||||
const max_disk = $(this).data('max_disk');
|
const max_disk = $(this).data('max_disk');
|
||||||
var ssh_regex = new RegExp("ssh-[a-z]+ [0-9A-Za-z+/]+[=]{0,3}( [^@]+@[^@]+)?");
|
var ssh_regex = new RegExp("ssh-[a-z]+ AAAA[0-9A-Za-z+/]+[=]{0,3}( [^@]+@[^@]+)?");;
|
||||||
var disk = document.getElementById('disk').value;
|
var disk = document.getElementById('disk').value;
|
||||||
fetch(`/template/${template}/disk`, {
|
fetch(`/template/${template}/disk`, {
|
||||||
credentials: 'same-origin',
|
credentials: 'same-origin',
|
||||||
|
|
Loading…
Reference in a new issue