Skip to content

Commit

Permalink
Update initial.html
Browse files Browse the repository at this point in the history
  • Loading branch information
inulute committed Feb 15, 2024
1 parent ec7e2e1 commit 8340e1a
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions initial.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href='https://fonts.googleapis.com/css?family=Varela Round' rel='stylesheet'>
<link rel="stylesheet" href="./external.css">
<script async src="./analytics.js"></script>
</head>
<body>
<div id="content">
Expand Down Expand Up @@ -39,12 +38,10 @@ <h2>Choose an AI to Navigate</h2>
}

async function checkForUpdates() {
const currentVersion = "2.0.0";
const rawGithubContentUrl = "https://raw.githubusercontent.com/inulute/perplexity-ai-app/main/package.json";
try {
const response = await fetch(rawGithubContentUrl);
const data = await response.json();
const latestVersion = data.version;
const currentVersion = await fetch('crrtver.inu').then(response => response.text());
const response = await fetch('https://raw.githubusercontent.com/inulute/perplexity-ai-app/main/package.json');
const { version: latestVersion } = await response.json();

const versionDisplay = document.getElementById("versionDisplay");

Expand Down

0 comments on commit 8340e1a

Please sign in to comment.