That's a spicy meatball
* APIUtils additions * Socket and web server listen on dedicated ports (see denoland/deno socket issue created by ZombieB1309 on GitHub) * Coach and Server created automatically (untested) * Profile content functions split into 'managers' * Progression temporary implementation * Settings placed into profile content manager * Relationships and messages return temporary empty array * Socket targets defined, message delivery to target, exec returned (goes unused for now)
This commit is contained in:
@@ -17,6 +17,11 @@ type WebConfiguration = {
|
||||
host: string;
|
||||
publichost: string;
|
||||
securepublichost: boolean;
|
||||
}
|
||||
|
||||
type WebRootConfiguration = {
|
||||
api: WebConfiguration,
|
||||
socket: WebConfiguration
|
||||
};
|
||||
|
||||
type PublicConfiguration = {
|
||||
@@ -52,7 +57,7 @@ type AuthConfiguration = {
|
||||
|
||||
export type GalvanicConfiguration = {
|
||||
redis: RedisConfiguration;
|
||||
web: WebConfiguration;
|
||||
web: WebRootConfiguration;
|
||||
public: PublicConfiguration;
|
||||
logging: LoggingConfiguration;
|
||||
discord: DiscordConfiguration | null;
|
||||
@@ -68,10 +73,18 @@ export const defaultConfig: GalvanicConfiguration = {
|
||||
db: 0,
|
||||
},
|
||||
web: {
|
||||
port: 3000,
|
||||
host: "127.0.0.1",
|
||||
publichost: "127.0.0.1:3000",
|
||||
securepublichost: false,
|
||||
api: {
|
||||
port: 13370,
|
||||
host: "127.0.0.1",
|
||||
publichost: "127.0.0.1:13370",
|
||||
securepublichost: false,
|
||||
},
|
||||
socket: {
|
||||
port: 13371,
|
||||
host: "127.0.0.1",
|
||||
publichost: "127.0.0.1:13371",
|
||||
securepublichost: false,
|
||||
}
|
||||
},
|
||||
public: {
|
||||
serverName: "Galvanic Corrosion",
|
||||
|
||||
Reference in New Issue
Block a user