Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ billing/VENTA_V10_PROFORMA.json
logs/ip_access.jsonl
logs/IP_WATCH.md
logs/LAFAYETTE_TTC_MONITOR.md
logs/SISTEMA_SUSPENDIDO.jsonlupdate_stripe.py
logs/SISTEMA_SUSPENDIDO.jsonl
logs/sovereignty_access_audit.jsonl
logs/core_engine_events.jsonl
logs/core_engine_sessions.jsonl
update_stripe_v10.py
activate_royalties_v10.py
monetizacion_trace_demo.log
2 changes: 1 addition & 1 deletion api/balance_soberana.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def balance_total_soberano() -> float:
transferencia_ip = TRANSFERENCIA_IP_UNIT * 2
total = ATRASOS_PILOTO + nodos_activos + transferencia_ip + SUBVENCION_BFT

print("--- [ESTADO FINANCIERO TOTAL: TRYONYOU V12] ---")
print("--- [ESTADO FINANCIERO TOTAL: TRYONYOU V10] ---")
print(f"CAPITAL TOTAL RECLAMADO: {total:,.2f} €")
print(
"ESTADO: Pipeline de cobro al 100% de capacidad. "
Expand Down
10 changes: 10 additions & 0 deletions api/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,14 @@ def home():
return "API Active"


@app.route("/", methods=["POST", "PUT", "PATCH", "DELETE", "OPTIONS"])
def home_mutating():
from flask import jsonify
resp = jsonify({"status": "error", "message": "Not Found"})
resp.status_code = 404
return resp


def _cors(resp):
resp.headers["Access-Control-Allow-Origin"] = "*"
resp.headers["Access-Control-Allow-Methods"] = "POST, GET, OPTIONS"
Expand All @@ -523,6 +531,8 @@ def _apply_global_sovereignty_headers(resp):
resp = _cors(resp)
if resp.status_code == 204:
return resp
if resp.status_code >= 400:
return resp
content_type = (resp.headers.get("Content-Type") or "").lower()
if "application/json" not in content_type:
return resp
Expand Down
65 changes: 0 additions & 65 deletions logs/sovereignty_access_audit.jsonl

This file was deleted.

Loading