Skip to content

Commit

Permalink
Merge branch 'GreaterThan000:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
zbarno authored Sep 28, 2024
2 parents dd979bd + f738ad9 commit cdf0a55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/content_manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ async function get_article_content(article_name, target_element){
if (window.location.hostname === 'localhost' || window.location.hostname === '127.0.0.1') {
response = await fetch("../articles/" + article_name + ".html");
} else {
response = await fetch("https://greaterthan000.github.io/ControlsToRemember/articles/" + article_name + ".html");
response = await fetch("https://controlbuddy.xyz/articles/" + article_name + ".html");
}

// Check if the fetch was successful
Expand Down
2 changes: 1 addition & 1 deletion scripts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function get_base_url(){
if (window.location.hostname === 'localhost' || window.location.hostname === '127.0.0.1') {
url = "http://localhost:3000";
}else{
url = "https://greaterthan000.github.io";
url = "https://controlbuddy.xyz";
}


Expand Down

0 comments on commit cdf0a55

Please sign in to comment.