mirror of
https://github.com/imputnet/cobalt.git
synced 2026-01-04 22:11:16 +00:00
web/session: don't expect a trailing slash in DEFAULT_URL
This commit is contained in:
@@ -7,7 +7,7 @@ import { cachedSession } from "$lib/state/session";
|
||||
import type { CobaltSessionResponse, CobaltErrorResponse } from "$lib/types/api";
|
||||
|
||||
export const requestSession = async() => {
|
||||
const apiEndpoint = `${currentApiURL()}session`;
|
||||
const apiEndpoint = `${currentApiURL()}/session`;
|
||||
|
||||
let requestHeaders = {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user