Better detail post

This commit is contained in:
2025-09-21 00:01:47 +08:00
parent e9de02b084
commit fcfb57f4a5
10 changed files with 152 additions and 86 deletions

View File

@@ -1,8 +1,8 @@
// Solar Network aka the api client
import { keysToCamel, keysToSnake } from "~/utils/transformKeys"
export const useSolarNetwork = () => {
const apiBase = useSolarNetworkUrl()
export const useSolarNetwork = (withoutProxy = false) => {
const apiBase = useSolarNetworkUrl(withoutProxy)
return $fetch.create({
baseURL: apiBase,