Skip to content

Commit

Permalink
fix: update assets repository
Browse files Browse the repository at this point in the history
  • Loading branch information
twlite committed Dec 31, 2023
1 parent 1dfaf09 commit 2e350ea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/canvacord/src/assets/AssetsFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ import type { Font } from "./Font";

export const FontFactory = new Map<string, Font>();

const BASE_URL = process.env.CANVACORD_ASSETS_BASE_URL || "https://cdn.neplextech.com/canvacord";
const BASE_URL =
process.env.CANVACORD_ASSETS_BASE_URL ||
"https://github.com/neplextech/canvacord-assets/main/public/canvacord";
const prepareURL = (path: string) => `${BASE_URL}/${path}`;

/**
Expand Down

0 comments on commit 2e350ea

Please sign in to comment.