Skip to content

Commit

Permalink
Using assets url constant
Browse files Browse the repository at this point in the history
  • Loading branch information
Unthrottled committed Jun 26, 2021
1 parent 7342008 commit 3ddfacc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ChangelogService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import * as vscode from 'vscode';
import * as path from 'path';
import ChangelogHtml from "./ChangelogHtml";
import { getCurrentThemeAndSticker } from './ThemeManager';
import { ASSETS_URL } from './ENV';

export function showChanglog(context: vscode.ExtensionContext) {
const welcomPanel = vscode.window.createWebviewPanel(
Expand All @@ -21,7 +22,7 @@ export function buildWebviewHtml(
): string {
const {sticker} = getCurrentThemeAndSticker();
const stickerUrl =
`https://doki.assets.unthrottled.io/stickers/jetbrains/v2${sticker.sticker.path}`;
`${ASSETS_URL}/stickers/jetbrains/v2${sticker.sticker.path}`;

return `<!DOCTYPE html>
<html lang="en">
Expand Down

0 comments on commit 3ddfacc

Please sign in to comment.