Skip to content

Commit

Permalink
try to fix release
Browse files Browse the repository at this point in the history
  • Loading branch information
oylbin committed Dec 21, 2024
1 parent aa69ab1 commit 35c4069
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "external-file-embed-and-link",
"name": "External File Embed and Link",
"version": "1.0.7",
"version": "1.0.8",
"minAppVersion": "0.15.0",
"description": "Embed and link local files outside your vault with relative paths for cross-device and multi-platform compatibility.",
"author": "oylbin",
Expand Down
6 changes: 3 additions & 3 deletions server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ const PDF_HTML_TEMPLATE = `
<html>
<head>
<title>PDF Viewer</title>
<link rel="stylesheet" href="http://127.0.0.1:PORT_TO_REPLACE/assets/pdf.js/2.16.105/pdf_viewer.min.css">
<script src="http://127.0.0.1:PORT_TO_REPLACE/assets/pdf.js/2.16.105/pdf.min.js"></script>
<link rel="stylesheet" href="http://127.0.0.1:PORT_TO_REPLACE/assets/pdf_viewer.min.css">
<script src="http://127.0.0.1:PORT_TO_REPLACE/assets/pdf.min.js"></script>
<style>
#toolbar {
background-color: #474747;
Expand Down Expand Up @@ -55,7 +55,7 @@ const PDF_HTML_TEMPLATE = `
<div id="viewer"></div>
</div>
<script>
pdfjsLib.GlobalWorkerOptions.workerSrc = 'http://127.0.0.1:PORT_TO_REPLACE/assets/pdf.js/2.16.105/pdf.worker.min.js';
pdfjsLib.GlobalWorkerOptions.workerSrc = 'http://127.0.0.1:PORT_TO_REPLACE/assets/pdf.worker.min.js';
let pdfDoc = null;
let pageNum = PAGE_TO_REPLACE;
Expand Down

0 comments on commit 35c4069

Please sign in to comment.