Cadquos
Explore Marketplace Help
Register Sign In
Cadquos Development

Main Navigation

  • 🏠
    Dashboard
  • 🏢
    Organizations
    8
  • 📁
    Repositories
    8
  • 👥
    Team
  • 🗓️
    Calendar

Workspace

  • 📝
    작업메모
  • 🚀
    시작하기
  • 📝
    빠른 메모
  • 👻
    나의 공간
    3
  • 📝
    작업목록

  • Settings
  • Connections
  • Public Pages
  • Notifications
    3
  • Help Center

John Smith

john@example.com

ByoungSooPark/modeling-app
1
0
Fork 0
You've already forked modeling-app
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
29f8b05f56c369b29624d5dfd44136f36896b072
modeling-app/src/lib/withBaseURL.ts

6 lines
146 B
TypeScript
Raw Normal View History

Configurable URL for the API (#205) * Configurable engine URL Fixes #206 * fix import.meta problem (#210) --------- Co-authored-by: Kurt Hutten <k.hutten@protonmail.ch>
2023-08-01 09:36:40 -05:00
import { VITE_KC_API_BASE_URL } from '../env'
initial Auth implementation (#44) * initial implementation * update api url
2023-03-06 18:18:01 +11:00
export default function withBaseUrl(path: string): string {
Configurable URL for the API (#205) * Configurable engine URL Fixes #206 * fix import.meta problem (#210) --------- Co-authored-by: Kurt Hutten <k.hutten@protonmail.ch>
2023-08-01 09:36:40 -05:00
return VITE_KC_API_BASE_URL + path
initial Auth implementation (#44) * initial implementation * update api url
2023-03-06 18:18:01 +11:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.0+dev-176-gd179de641c Page: 34ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API