1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-07-31 12:41:08 +00:00

Rename webvirtcloud to webvirt

This commit is contained in:
Gao Jiangmiao 2019-08-16 13:24:26 +08:00
parent 3488661dc9
commit 5130871248
21 changed files with 45 additions and 99 deletions

View file

@ -7,7 +7,7 @@ import django
DIR_PATH = os.path.dirname(os.path.abspath(__file__))
ROOT_PATH = os.path.abspath(os.path.join(DIR_PATH, '..', ''))
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "webvirtcloud.settings")
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "webvirt.settings")
CERT = DIR_PATH + '/cert.pem'
if ROOT_PATH not in sys.path:
@ -22,7 +22,7 @@ django.setup()
import re
import http.cookies
import socket
from webvirtcloud.settings import WS_PORT, WS_HOST, WS_CERT
from webvirt.settings import WS_PORT, WS_HOST, WS_CERT
from vrtManager.connection import CONN_SSH, CONN_SOCKET
from console.tunnel import Tunnel