Files
medical-mall/ak/configme.uts
2026-02-03 11:38:00 +08:00

30 lines
1.8 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// // Supabase 配置
// // 内网环境 - 本地部署的 Supabase
// // 家里通过端口映射访问公司内网Supabase
// // 本地映射端口HTTP 18000, WebSocket 13000
// export const SUPA_URL: string = 'http://192.168.1.61:18000'
// export const SUPA_KEY: string = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYW5vbiIsImlzcyI6InN1cGFiYXNlIiwiaWF0IjoxNzY4ODMwNjI0LCJleHAiOjE5MjY1MTA2MjR9.mDVl-kIOdRK9v6VTxo0TDF8r7X7xk3PZXazaavHyVvg1234567890'
// //export const SUPA_URL: string = 'https://ak3.oulog.com'
// //export const SUPA_KEY: string = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyAgCiAgICAicm9sZSI6ICJhbm9uIiwKICAgICJpc3MiOiAic3VwYWJhc2UtZGVtbyIsCiAgICAiaWF0IjogMTY0MTc2OTIwMCwKICAgICJleHAiOiAxNzk5NTM1NjAwCn0.dc_X5iR_VP_qT0zsiyj_I_OZ2T9FtRU2BBNWN8Bu4GE'
// // WebSocket 实时连接(内网使用 ws:// 而非 wss://
// export const WS_URL: string = 'ws://192.168.1.61:18000/realtime/v1/websocket'
// // 备用配置(已注释,如需切换可取消注释)
// // 开发环境 - 其他内网地址
// // export const SUPA_URL: string = 'http://192.168.0.150:8080'
// // export const SUPA_KEY: string = 'your-anon-key'
// // export const WS_URL: string = 'ws://192.168.0.150:8080/realtime/v1/websocket'
// // 生产环境 - Supabase 云服务(已注释)
// // export const SUPA_URL: string = 'https://ak3.oulog.com'
// // export const SUPA_KEY: string = 'your-anon-key'
// // export const WS_URL: string = 'wss://ak3.oulog.com/realtime/v1/websocket'
// // 指向你的 Supabase 服务(开发/私有部署)
// // export const SUPA_URL: string = 'http://192.168.1.64:3000'
// // export const SUPA_KEY: string = 'your-anon-key'
// // export const WS_URL: string = 'ws://192.168.1.64:3000/realtime/v1'
// //export const HOME_REDIRECT :string = '/pages/mall/consumer/index'