Skip to content

Commit

Permalink
relative file fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kondaurovDev committed Feb 11, 2025
1 parent f7756b0 commit c6b6268
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/cv-maker/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<script defer src="https://cdn.jsdelivr.net/npm/@monaco-editor/[email protected]/lib/umd/monaco-loader.min.js"></script>
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>✍️</text></svg>">
<title>CV Maker</title>
<script type="module" crossorigin src="./assets/index-BqA5Dcdy.js"></script>
<script type="module" crossorigin src="./assets/index-DkVUQZm6.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-yRNwTtQE.css">
</head>

Expand Down
4 changes: 3 additions & 1 deletion src/cv-maker/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ async function setup() {

const editor = await makeJsonEditor();

const resumeSchemaObject = await fetch("/resume-schema.json").then(_ => _.json());
const resumeSchemaObject = await fetch("./resume-schema.json").then(_ => _.json());

delete resumeSchemaObject["$schema"]

if (!editor) {
console.warn("can not load editor");
Expand Down

0 comments on commit c6b6268

Please sign in to comment.