Skip to content

Commit a358233

Browse files
MirrorShihSysSn13
authored andcommitted
docs: change heroku link to render link
1 parent 98b8b55 commit a358233

File tree

6 files changed

+6
-8
lines changed

6 files changed

+6
-8
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ You can install the extension from [Chrome Web Store](https://chrome.google.com/
5555

5656
## Website
5757

58-
You can also visit [lcpredictor.herokuapp.com](https://lcpredictor.herokuapp.com/) to get your rating changes.
58+
You can also visit [lcpredictor.onrender.com](https://lcpredictor.onrender.com/) to get your rating changes.
5959

6060
<div align="center">
6161
<img src="./data/screenshots/web_demo.gif" alt="website preview">

chrome-extension/background.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ chrome.tabs.onUpdated.addListener((tabId, changeInfo, tab) => {
2424
});
2525

2626
const API_URLS = [
27-
"https://leetcode-rating-predictor.herokuapp.com/api/v1/predictions",
28-
"https://leetcode-predictor.herokuapp.com/api/v1/predictions",
27+
"https://lcpredictor.onrender.com/api/v1/predictions"
2928
];
3029

3130
chrome.runtime.onMessage.addListener((request, sender, sendResponse) => {

chrome-extension/manifest.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
],
3434
"host_permissions": [
3535
"https://leetcode.com/*",
36-
"https://leetcode-predictor.herokuapp.com/*",
37-
"https://leetcode-rating-predictor.herokuapp.com/*"
36+
"https://lcpredictor.onrender.com/*"
3837
]
3938
}

chrome-extension/popup.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
</a>
2222
</div>
2323
<div class="col-2">
24-
<a href="https://lcpredictor.herokuapp.com" target="_blank">
24+
<a href="https://lcpredictor.onrender.com" target="_blank">
2525
<img class="icon" src="/icons/web.png"></img>
2626
</a>
2727
</div>

controllers/sitemapController.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const Contest = require("../models/contest");
22
const { SitemapStream, streamToPromise } = require("sitemap");
33
const { createGzip } = require("zlib");
44

5-
const HOST = process.env.HOST || "https://lcpredictor.herokuapp.com/";
5+
const HOST = process.env.HOST || "https://lcpredictor.onrender.com/";
66

77
const getURLsCollection = async () => {
88
const collection = [];

public/robots.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Sitemap: https://lcpredictor.herokuapp.com/sitemap.xml
1+
Sitemap: https://lcpredictor.onrender.com/sitemap.xml
22
User-agent: *
33
Disallow:

0 commit comments

Comments
 (0)