[PR #116] [CLOSED] API_BASE fix #312

Closed
opened 2026-02-23 17:21:13 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/vector-admin/pull/116
Author: @kh-ac
Created: 1/11/2024
Status: Closed

Base: masterHead: API_BASE-fix


📝 Commits (1)

📊 Changes

1 file changed (+2 additions, -1 deletions)

View changed files

📝 frontend/src/utils/constants.ts (+2 -1)

📄 Description

Pull Request Type

  • feat
  • [ x] 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

What is in this change?

API_BASE is set to "http://127.0.0.1:3001/api" instead of "/api" because it caused errors when trying to send requests to the backend. Thus, the frontend will not be working as shown below:
Screenshot from 2024-01-11 14-58-36

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • [No Need] Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/vector-admin/pull/116 **Author:** [@kh-ac](https://github.com/kh-ac) **Created:** 1/11/2024 **Status:** ❌ Closed **Base:** `master` ← **Head:** `API_BASE-fix` --- ### 📝 Commits (1) - [`58b97b7`](https://github.com/Mintplex-Labs/vector-admin/commit/58b97b7b66c3cea5d130e28eb593c38ead24fc2f) API_BASE fix ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/utils/constants.ts` (+2 -1) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [ ] ✨ feat - [ x] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> ### What is in this change? API_BASE is set to "http://127.0.0.1:3001/api" instead of "/api" because it caused errors when trying to send requests to the backend. Thus, the frontend will not be working as shown below: ![Screenshot from 2024-01-11 14-58-36](https://github.com/Mintplex-Labs/vector-admin/assets/93795387/62cd0cc8-ca18-4dd9-8877-56e6356416c1) ### Additional Information ### Developer Validations <!-- All of the applicable items should be checked. --> - [x] I ran `yarn lint` from the root of the repo & committed changes - [No Need] Relevant documentation has been updated - [x] I have tested my code functionality - [x] Docker build succeeds locally --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-23 17:21:13 -05:00
yindo closed this issue 2026-02-23 17:21:13 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/vector-admin#312