Update GraphQL and network URLs

This commit is contained in:
rpurnama1409 2024-02-19 08:21:44 +07:00
parent 1750dd33df
commit 1720d39082
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ import { ApolloClient, createHttpLink, InMemoryCache } from '@apollo/client/core
export const apolloClient = () => {
const httpLink = createHttpLink({
uri: 'http://10.8.0.13:8080/graphql',
uri: 'http://192.168.1.84/:32180/graphql',
credentials: 'include', // Include credentials for cross-origin requests
});

View File

@ -1,7 +1,7 @@
import axios from 'axios'
const instance = axios.create({
baseURL: 'http://10.8.0.13:8443'
baseURL: 'http://192.168.1.84/:32180'
})
const getUid = async () => await instance.get('/uid')