Commit web interface build and serve statically
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import React, { useState, useEffect } from 'react';
|
||||
import axios from 'axios';
|
||||
|
||||
axios.defaults.baseURL = 'http://minecraft-bot.dns.t0.vc';
|
||||
axios.defaults.baseURL = process.env.REACT_APP_SERVER;
|
||||
|
||||
function App() {
|
||||
const [global, setGlobal] = useState(false);
|
||||
|
Reference in New Issue
Block a user