Skip to content

Commit

Permalink
backend endpoint config
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathius262 committed Feb 16, 2024
1 parent 28a0f0c commit 80714cf
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 9 deletions.
5 changes: 2 additions & 3 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1073,13 +1073,13 @@ nav.main-menu {
border-bottom: solid #eee 1px;
}

.main-menu ul>li .sub-down li a::before {}


.main-menu ul>li .sub-down li a:hover {
color: #111111;
}

.main-menu ul>li .sub-down li a:hover::before {}


.main-menu ul li:first-child {
margin-left: 0;
Expand Down Expand Up @@ -1157,7 +1157,6 @@ nav.main-menu {
padding: 15px 0px;
}

.sub-full {}

.simple-down {
padding: 15px;
Expand Down
2 changes: 1 addition & 1 deletion assets/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {renderModelList, news, navigateToDetailedPost} from "./components/fetch.
let header = document.querySelector('#header')
let footerEl = document.querySelector('footer')
let head = document.querySelector('head')
const endpoint = "http://127.0.0.1:8000"
const endpoint = "https://pixtinfinity.pythonanywhere.com"
const blog_endpoint = endpoint+"/api/post/"
const siteURL = window.location.protocol + '//' + window.location.host

Expand Down
2 changes: 1 addition & 1 deletion assets/js/components/fetch.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const endpoint = "http://127.0.0.1:8000"
const endpoint = "https://pixtinfinity.pythonanywhere.com"
const blog_endpoint = endpoint+"/api/post/"

async function fetchData(url, options) {
Expand Down
2 changes: 1 addition & 1 deletion blog.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<!-- Begin tracking codes here, including ShareThis/Analytics -->
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script>
const endpoint = "http://127.0.0.1:8000"
const endpoint = "https://pixtinfinity.pythonanywhere.com"
const blog_endpoint = endpoint+"/api/post/"
const siteURL = window.location.protocol + '//' + window.location.host

Expand Down
4 changes: 2 additions & 2 deletions blog_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<!-- Begin tracking codes here, including ShareThis/Analytics -->
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script>
const endpoint = "http://127.0.0.1:8000"
const endpoint = "https://pixtinfinity.pythonanywhere.com"
const blog_endpoint = endpoint+"/api/post/"
const siteURL = window.location.protocol + '//' + window.location.host

Expand Down Expand Up @@ -135,7 +135,7 @@ <h2>Sign up to get our weekly free guide to selling digital downloads</h2>
</div>
<div class="sidebar-section">
<h5><span>Useful</span></h5>
<ul style="list-none;">
<ul style="list-style-type:none;">
<li><a target="_blank" href="https://m.do.co/c/84c9b45d0c47">Digital Ocean</a></li>
<li><a target="blank" href="https://www.cloudways.com/en/pricing.php?id=153986&amp;a_bid=005da123">Cloudways</a></li>
<li><a target="blank" href="http://shareasale.com/r.cfm?b=875645&amp;u=1087935&amp;m=41388&amp;urllink=&amp;afftrack=">Page Speed Test</a></li>
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<!-- Begin tracking codes here, including ShareThis/Analytics -->
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script>
const endpoint = "http://127.0.0.1:8000"
const endpoint = "https://pixtinfinity.pythonanywhere.com"
const blog_endpoint = endpoint+"/api/post/"
const siteURL = window.location.protocol + '//' + window.location.host

Expand Down

0 comments on commit 80714cf

Please sign in to comment.