Skip to content

Commit

Permalink
Fix CORS errors (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielArnould authored Jul 8, 2024
1 parent 4265e0b commit c92fc6d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ const HighlightPopup = ({
</div>
) : null;

const PRIMARY_PDF_URL = "https://arxiv.org/pdf/1708.08021.pdf";
const SECONDARY_PDF_URL = "https://arxiv.org/pdf/1604.02480.pdf";
const PRIMARY_PDF_URL = "https://arxiv.org/pdf/1708.08021";
const SECONDARY_PDF_URL = "https://arxiv.org/pdf/1604.02480";

const searchParams = new URLSearchParams(document.location.search);

Expand Down
4 changes: 2 additions & 2 deletions example/src/test-highlights.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const testHighlights = {
"https://arxiv.org/pdf/1708.08021.pdf": [
"https://arxiv.org/pdf/1708.08021": [
{
content: {
text: " Type Checking for JavaScript",
Expand Down Expand Up @@ -279,7 +279,7 @@ export const testHighlights = {
},
},
],
"https://arxiv.org/pdf/1604.02480.pdf": [
"https://arxiv.org/pdf/1604.02480": [
{
content: {
text: "SSA",
Expand Down

0 comments on commit c92fc6d

Please sign in to comment.