From: charleswrayjr Date: Thu, 4 Sep 2025 09:18:24 +0000 (-0500) Subject: Fixing url. X-Git-Url: https://git.phasecustomsoft.com/static/git-favicon.png?a=commitdiff_plain;h=b725eadcef566e1879579dee210df18722671360;p=phs-home.git Fixing url. --- diff --git a/src/app/views/Git.jsx b/src/app/views/Git.jsx index 93edad1..76d7edd 100644 --- a/src/app/views/Git.jsx +++ b/src/app/views/Git.jsx @@ -1,5 +1,6 @@ import { useState } from 'react'; import axios from 'axios'; +import { base_url } from '../../globals'; const Git = () => { const [repoName, setRepoName] = useState(''); @@ -19,7 +20,7 @@ const Git = () => { } try { - const response = await axios.post('https://www.phasecustomsoft.com/create-repo', { + const response = await axios.post(`${base_url}/create-repo`, { name: repoName, type: repoType, user: repoType === 'private' ? user : undefined,