creates URL for api

multistore
Laurent 1 year ago
parent 44203d5b88
commit 79e9fe1cae
  1. 2
      PadelClub/Data/DataStore.swift
  2. 1
      PadelClub/Utils/URLs.swift

@ -58,7 +58,7 @@ class DataStore: ObservableObject {
init() {
let store = Store.main
let serverURL: String = "https://xlr.alwaysdata.net/roads/"
let serverURL: String = URLs.api.rawValue
#if DEBUG
if let server = PListReader.readString(plist: "local", key: "server") {

@ -10,6 +10,7 @@ import Foundation
enum URLs: String, Identifiable {
case subscriptions = "https://apple.co/2Th4vqI"
case main = "https://xlr.alwaysdata.net/"
case api = "https://xlr.alwaysdata.net/roads/"
case beachPadel = "https://beach-padel.app.fft.fr/beachja/index/"
//case padelClub = "https://padelclub.app"
case padelRules = "https://fft-site.cdn.prismic.io/fft-site/ZgLn3McYqOFdyF7n_LEGUIDEDELACOMPETITIONDEPADEL-MAJDECEMBRE2023.pdf"

Loading…
Cancel
Save