Move API key para Secrets.swift fora do versionamento
- Secrets.swift entra no .gitignore; Secrets.swift.example fica como modelo - Adiciona .gitignore (xcuserdata, DerivedData) e README com instruções Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
15
Secrets.swift.example
Normal file
15
Secrets.swift.example
Normal file
@@ -0,0 +1,15 @@
|
||||
//
|
||||
// Secrets.swift.example
|
||||
//
|
||||
// Modelo do arquivo de segredos. Para compilar o projeto:
|
||||
// 1. Copie este arquivo para Bible-Week/Secrets.swift
|
||||
// 2. Preencha a chave da API
|
||||
// O Secrets.swift real está no .gitignore e nunca é versionado.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
enum Secrets {
|
||||
/// Chave da API da Bíblia (header X-API-Key).
|
||||
static let bibleAPIKey = "COLOQUE_SUA_CHAVE_AQUI"
|
||||
}
|
||||
Reference in New Issue
Block a user