mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-01 16:51:13 +00:00
fix paths
This commit is contained in:
parent
bd4b556d81
commit
b1caef3b8f
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
import * as cookie from "cookie";
|
import * as cookie from "cookie";
|
||||||
import { authCookieName } from "shared/config";
|
import { authCookieName } from "../../config";
|
||||||
|
|
||||||
export default function clearAuthCookie() {
|
export default function clearAuthCookie() {
|
||||||
document.cookie = cookie.serialize(authCookieName, "", {
|
document.cookie = cookie.serialize(authCookieName, "", {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { isHttps } from "@utils/env";
|
import { isHttps } from "@utils/env";
|
||||||
import * as cookie from "cookie";
|
import * as cookie from "cookie";
|
||||||
import { authCookieName } from "shared/config";
|
import { authCookieName } from "../../config";
|
||||||
|
|
||||||
export default function setAuthCookie(jwt: string) {
|
export default function setAuthCookie(jwt: string) {
|
||||||
const expires = new Date();
|
const expires = new Date();
|
||||||
|
|
Loading…
Reference in a new issue