Skip to content

Commit

Permalink
[v1.5.0] Remove custom domain (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebranly committed Apr 13, 2024
1 parent 9a3c185 commit 8e22af7
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 40 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"homepage": ".",
"homepage": "https://sebranly.github.io/ctr-ocr",
"name": "ctr-ocr",
"version": "0.1.0",
"dependencies": {
Expand Down Expand Up @@ -28,7 +28,7 @@
},
"scripts": {
"predeploy": "npm run build",
"deploy": "echo 'www.crashteamresults.com' > ./build/static/CNAME && gh-pages -b master -d build",
"deploy": "gh-pages -b master -d build",
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
Expand Down
1 change: 0 additions & 1 deletion public/CNAME

This file was deleted.

35 changes: 0 additions & 35 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1100,41 +1100,6 @@ const App = () => {
recycle={false}
/>
)}
<div className={`text-center main-content-${classPlatform} m-0-auto-mb2 bg-orange`}>
<div className="text-left mb black">
<b>March 2024 Update:</b> this website address (URL) will be changed as follows:
<br />
<div>
The URL{' '}
<a
href="https://www.crashteamresults.com/"
rel="noopener noreferrer"
title="Old URL address of Crash Team Results"
target="_blank"
>
https://www.crashteamresults.com/
</a>{' '}
will stop working in April 2024.
</div>
<div>
The URL{' '}
<a
href="https://sebranly.github.io/ctr-ocr/"
rel="noopener noreferrer"
title="New URL address of Crash Team Results"
target="_blank"
>
https://sebranly.github.io/ctr-ocr/
</a>{' '}
will become the new one (it is already active).
</div>
<br />
To ensure that you can access this website in the future, please add the following address to your bookmarks:
<b>
<div>https://sebranly.github.io/ctr-ocr/</div>
</b>
</div>
</div>
<div className={`center main-content-${classPlatform} m-0-auto ${classBgDisabled}`}>
{renderProgressBar()}
<h2>Introduction</h2>
Expand Down
2 changes: 1 addition & 1 deletion src/components/__test__/__snapshots__/Footer.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ NodeList [
target="_blank"
title="Website changelog"
>
1.4.0
1.5.0
</a>
</div>,
]
Expand Down
2 changes: 1 addition & 1 deletion src/constants/general.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const GUIDE_FOLDER = `${PROJECT_URL}/blob/main/doc/guide/${WEBSITE_LANGUA
export const DEBUG_MODE = false;
export const WEBSITE_TITLE = 'Crash Team Results';
export const WEBSITE_SUBTITLE = 'Optical Character Recognition';
export const WEBSITE_VERSION = '1.4.0';
export const WEBSITE_VERSION = '1.5.0';
export const WEBSITE_DEFAULT_LANGUAGE = 'en';
export const JSON_DATA_FOLDER = `${AUTHOR_GITHUB}/json/${JSON_FOLDER}`;
export const URL_CPUS = `${JSON_DATA_FOLDER}/players.json`;
Expand Down

0 comments on commit 8e22af7

Please sign in to comment.