Skip to content

Commit

Permalink
add: env
Browse files Browse the repository at this point in the history
  • Loading branch information
TeeGoood committed Mar 28, 2024
1 parent fb8304b commit 3a79c6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions apps/web/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
BASE_URL=https://api.cutu2024.sgcu.in.th
2 changes: 1 addition & 1 deletion apps/web/src/app/(user)/admin/components/PopIp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const PopUp = (props: PopUpProps) => {
const handleChangeState = async () => {
try{
if(props.isStart){
await axios.post("{{base_url}}/admin-api/games/stop", {
await axios.post(`/admin-api/games/stop`, {
game_id: "123121321"
})
}
Expand Down

0 comments on commit 3a79c6e

Please sign in to comment.