Rename Conf.url() to Conf.local(), replace it with a URL of localDomain

This commit is contained in:
Alex Gleason
2023-07-09 18:26:33 -05:00
parent 5ec40f285d
commit be6aa89c39
7 changed files with 16 additions and 15 deletions

View File

@@ -3,7 +3,7 @@ import { Conf } from '@/config.ts';
import type { Context } from '@/deps.ts';
function instanceController(c: Context) {
const { host, protocol } = new URL(Conf.localDomain);
const { host, protocol } = Conf.url;
return c.json({
uri: host,