Skip to content

Commit

Permalink
🔨 Fix: API url 변경
Browse files Browse the repository at this point in the history
#
  • Loading branch information
qilip committed Apr 2, 2024
1 parent 8498c12 commit 53ef8db
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true,
"source.fixAll": true,
"source.organizeImports": "explicit",
"source.fixAll": "explicit"
},
}
4 changes: 2 additions & 2 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export default defineNuxtConfig({
},
runtimeConfig: {
public: {
apiBaseUrl: process.env.API_BASE_URL ?? 'https://api-dev.remak.io',
apiBaseUrl: process.env.API_BASE_URL ?? 'https://api.remak.io',
sentry: {
dsn:
process.env.SENTRY_DSN ??
Expand All @@ -108,4 +108,4 @@ export default defineNuxtConfig({
server: true,
client: true,
},
});
});
4 changes: 2 additions & 2 deletions stores/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export const useSearchStore = defineStore(
if (!authStore.isSignedIn) return false;
if (endOfDocuments.value) return false;

const { data, error }: any = await useRemak('/search/text', {
const { data, error }: any = await useRemak('/document/search/text', {
baseURL: apiBaseUrl,
method: 'GET',
params: { query: cleanText, limit, offset },
Expand All @@ -108,7 +108,7 @@ export const useSearchStore = defineStore(

if (!authStore.isSignedIn) return false;

const { data, error }: any = await useRemak('/search/hybrid', {
const { data, error }: any = await useRemak('/document/search/hybrid', {
baseURL: apiBaseUrl,
method: 'GET',
params: { query: cleanText },
Expand Down

0 comments on commit 53ef8db

Please sign in to comment.