Skip to content

Commit

Permalink
URL fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarinm committed Jul 7, 2022
1 parent 7cb16e5 commit 0303c2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Book from './Book'
import BookForm from './BookForm'


const API_URL = 'https://shark.ontrack.global';
const API_URL = 'https://shark.ontrack.global/api';
//const API_URL = 'http://localhost:8080';

const App = () => {
Expand Down
2 changes: 1 addition & 1 deletion src/BookForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from "react";
import { useState } from "react";

const BookForm = () => {
const API_URL = 'https://shark.ontrack.global';
const API_URL = 'https://shark.ontrack.global/api';
const [form, setForm] = useState({author: '', title:'', description: '', subject: '', year: ''});

const handleChange = (e) =>{
Expand Down

0 comments on commit 0303c2a

Please sign in to comment.