mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-06-28 01:06:58 +00:00
Fixed #493
This commit is contained in:
parent
d5168d2da6
commit
5732867407
@ -311,7 +311,7 @@ class WireguardConfiguration:
|
||||
def __init__(self, name: str = None, data: dict = None, backup: dict = None, startup: bool = False, wg: bool = True):
|
||||
|
||||
|
||||
self.__parser: configparser.ConfigParser = configparser.ConfigParser(strict=False)
|
||||
self.__parser: configparser.ConfigParser = configparser.RawConfigParser(strict=False)
|
||||
self.__parser.optionxform = str
|
||||
self.__configFileModifiedTime = None
|
||||
|
||||
@ -361,10 +361,10 @@ class WireguardConfiguration:
|
||||
"PrivateKey": self.PrivateKey,
|
||||
"Address": self.Address,
|
||||
"ListenPort": self.ListenPort,
|
||||
"PreUp": self.PreUp,
|
||||
"PreDown": self.PreDown,
|
||||
"PostUp": self.PostUp,
|
||||
"PostDown": self.PostDown,
|
||||
"PreUp": f"{self.PreUp}",
|
||||
"PreDown": f"{self.PreDown}",
|
||||
"PostUp": f"{self.PostUp}",
|
||||
"PostDown": f"{self.PostDown}",
|
||||
"SaveConfig": "true"
|
||||
}
|
||||
|
||||
|
@ -46,7 +46,6 @@ export default {
|
||||
main{
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
@supports (height: 100dvh) {
|
||||
@media screen and (max-width: 768px) {
|
||||
main{
|
||||
@ -54,6 +53,4 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
</style>
|
Loading…
x
Reference in New Issue
Block a user