Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
Notplayingallday383 authored Apr 20, 2024
1 parent 986a367 commit edbf925
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sodium-instance",
"version": "2.0.0",
"version": "2.3.0",
"description": "Sodium is a site used for evading internet censorship",
"type": "module",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion sodium-static/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "sodium-static",
"main": "lib/index.js",
"version": "2.0.0",
"version": "2.3.0",
"type": "module",
"files": [
"public",
Expand Down
2 changes: 1 addition & 1 deletion sodium-static/public/about/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ <h3><a href="/">Sodium</a></h3>
};

const releaseDayWithSuffix = formattedDay + ordinalSuffix(formattedDay);
versionInfoElement.textContent = `v2.0.0 Stable (Released: ${formattedMonth} ${releaseDayWithSuffix}, ${formattedYear} - Commit: `;
versionInfoElement.textContent = `v2.3.0 Stable (Released: ${formattedMonth} ${releaseDayWithSuffix}, ${formattedYear} - Commit: `;
const commitLink = document.createElement("a");
commitLink.href = data[0].html_url;
commitLink.textContent = commitId;
Expand Down
2 changes: 1 addition & 1 deletion sodium-static/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ <h2 style="font-weight: 700;">What's New</h2>
<li>Added More Games</li>
<li>Many More changes & Bug Fixes view <a style="color:white;" href="https://github.com/z1g-project/sodium">here</a></li>
</ul>
<p>Version 2.0.0 - The 2024 Refresh</p>
<p>Version 2.3.0 - The 2024 Refresh</p>
<button class="ok-button">OK</button>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion sodium-static/public/newtab.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ <h2 style="font-weight: 700;">What's New</h2>
<li>Added More Games</li>
<li>Many More changes & Bug Fixes view <a style="color:white;" href="https://github.com/z1g-project/sodium">here</a></li>
</ul>
<p>Version 2.0.0 - The 2024 Refresh</p>
<p>Version 2.3.0 - The 2024 Refresh</p>
<button class="ok-button">OK</button>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion sodium-static/public/sw.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@ self.addEventListener('message', async (event) => {

sw.on('request', (event) => {
event.data.headers['user-agent'] =
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36 Sodium/2.0.0';
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36 Sodium/2.3.0';
});
2 changes: 1 addition & 1 deletion sodium-static/public/updates.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ async function checkLatestVersion() {
const branch = isBeta ? 'v2' : 'master';
const response = await fetch(`https://raw.githubusercontent.com/z1g-project/sodium/${branch}/sodium-static/public/version.txt`);
const latestVersion = await response.text();
const currentVersion = '2.0.0';
const currentVersion = '2.3.0';

if (window.location.hostname.includes('localhost')) {
const response1 = await fetch(`https://raw.githubusercontent.com/z1g-project/sodium/v2/sodium-static/public/version.txt`);
Expand Down
2 changes: 1 addition & 1 deletion sodium-static/public/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.0
2.3.0

0 comments on commit edbf925

Please sign in to comment.