Skip to content

Commit

Permalink
Update api to not use cors-anywhere anymore in favor to use its own api
Browse files Browse the repository at this point in the history
  • Loading branch information
daltonmenezes committed Feb 23, 2021
1 parent 9641874 commit f4b25a1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions chrome/content_scripts/api-config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
const apiConfig = {
endpoint: 'https://cors-anywhere.herokuapp.com/https://www.omelete.com.br/_scroll/noticias',
configs: { method:'get', mode: 'cors' }
endpoint: 'https://omelete-tabs-api.vercel.app/api/news',
}
2 changes: 1 addition & 1 deletion chrome/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Omelete Tabs",
"description": "Abas com as últimas notícias do omelete.com.br",
"version": "1.0.2",
"version": "1.0.3",
"homepage_url": "https://github.com/daltonmenezes/omelete-tabs",
"manifest_version": 2,
"chrome_url_overrides": {
Expand Down
3 changes: 1 addition & 2 deletions firefox/content_scripts/api-config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
const apiConfig = {
endpoint: 'https://cors-anywhere.herokuapp.com/https://www.omelete.com.br/_scroll/noticias',
configs: { method:'get', mode: 'cors' }
endpoint: 'https://omelete-tabs-api.vercel.app/api/news',
}
2 changes: 1 addition & 1 deletion firefox/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Omelete Tabs",
"description": "Abas com as últimas notícias do omelete.com.br",
"version": "1.0.2",
"version": "1.0.3",
"homepage_url": "https://github.com/daltonmenezes/omelete-tabs",
"manifest_version": 2,
"chrome_settings_overrides": {
Expand Down

0 comments on commit f4b25a1

Please sign in to comment.