mirror of
https://git.v0l.io/Kieran/void.cat.git
synced 2025-04-01 01:28:01 +02:00
Run webserver
This commit is contained in:
parent
512955219e
commit
ebe5a0e106
@ -8,6 +8,11 @@ JsonConvert.DefaultSettings = () => VoidStartup.ConfigJsonSettings(new());
|
||||
|
||||
RunModes mode = args.Length == 0 ? RunModes.All : 0;
|
||||
|
||||
if (args.Contains("--run-webserver"))
|
||||
{
|
||||
mode |= RunModes.Webserver;
|
||||
}
|
||||
|
||||
if (args.Contains("--run-migrations"))
|
||||
{
|
||||
mode |= RunModes.Migrations;
|
||||
|
Loading…
x
Reference in New Issue
Block a user