mirror of
https://github.com/zen-browser/components.git
synced 2025-07-08 09:00:00 +02:00
chore: Update ZenThemeMarketplaceChild.sys.mjs to use correct API endpoint for fetching theme info
This commit is contained in:
parent
4a6a0964de
commit
9b90aab014
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ export class ZenThemeMarketplaceChild extends JSWindowActorChild {
|
||||||
}
|
}
|
||||||
|
|
||||||
async getThemeInfo(themeId) {
|
async getThemeInfo(themeId) {
|
||||||
const url = `https://zen-browser.app/api/get-theme?id=${themeId}`;
|
const url = `https://zen-browser.app/api/get-theme/${themeId}`;
|
||||||
console.info("ZTM: Fetching theme info from: ", url);
|
console.info("ZTM: Fetching theme info from: ", url);
|
||||||
const data = await fetch(url, {
|
const data = await fetch(url, {
|
||||||
mode: "no-cors",
|
mode: "no-cors",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue