mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 04:03:49 +01:00
fix: use hostname as prefix instead of host
This commit is contained in:
parent
0f7795977e
commit
80cd7b4349
@ -54,9 +54,9 @@ export default function load() {
|
|||||||
mixin.userAgent = `Calckey/${meta.version} (${config.url})`;
|
mixin.userAgent = `Calckey/${meta.version} (${config.url})`;
|
||||||
mixin.clientEntry = clientManifest["src/init.ts"];
|
mixin.clientEntry = clientManifest["src/init.ts"];
|
||||||
|
|
||||||
if (!config.redis.prefix) config.redis.prefix = mixin.host;
|
if (!config.redis.prefix) config.redis.prefix = mixin.hostname;
|
||||||
if (config.cacheServer && !config.cacheServer.prefix)
|
if (config.cacheServer && !config.cacheServer.prefix)
|
||||||
config.cacheServer.prefix = mixin.host;
|
config.cacheServer.prefix = mixin.hostname;
|
||||||
|
|
||||||
return Object.assign(config, mixin);
|
return Object.assign(config, mixin);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user