Skip to content

Commit

Permalink
Url Changes for New Server
Browse files Browse the repository at this point in the history
  • Loading branch information
ashish-devv authored Mar 5, 2024
1 parent cdbbbca commit 29abd12
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/IndividualShlok.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export default class IndividualShlok extends Component {
getshlok() {
this.setState({ loading: true });
fetch(
`https://bhagvadgita.herokuapp.com/gita/${this.state.shlokchapters}/${this.state.shlokverse}`
`https://bhagvadgitabackend.onrender.com/gita/${this.state.shlokchapters}/${this.state.shlokverse}`
)
.then((response) => {
if (!response.ok) {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Main.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default class Main extends Component {
}
getShlok() {
this.setState({ loading: true });
fetch("https://bhagvadgita.herokuapp.com/gita")
fetch("https://bhagvadgitabackend.onrender.com/gita")
.then((response) => {
if (!response.ok) {
this.setState({ loading: false });
Expand Down
2 changes: 1 addition & 1 deletion src/components/Moresholk.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default class Moresholk extends Component {
this.getallchapters();
}
getallchapters() {
fetch("https://bhagvadgita.herokuapp.com/gita/chapters")
fetch("https://bhagvadgitabackend.onrender.com/gita/chapters")
.then((res) => res.json())
.then(
(result) => {
Expand Down

0 comments on commit 29abd12

Please sign in to comment.