Remove decorative icons and update CORS configuration

This commit is contained in:
DaX
2025-06-20 13:05:36 +02:00
parent 18110ab159
commit 62a4891112
51 changed files with 4284 additions and 2385 deletions

View File

@@ -16,6 +16,10 @@ provider "aws" {
region = "eu-central-1" # Frankfurt
}
provider "cloudflare" {
api_token = var.cloudflare_api_token != "" ? var.cloudflare_api_token : "dummy" # Dummy token if not provided
}
resource "aws_amplify_app" "filamenteka" {
name = "filamenteka"
repository = var.github_repository
@@ -49,7 +53,7 @@ resource "aws_amplify_app" "filamenteka" {
# Environment variables
environment_variables = {
NEXT_PUBLIC_API_URL = aws_api_gateway_stage.api.invoke_url
NEXT_PUBLIC_API_URL = "https://api.filamenteka.rs/api" # Using Cloudflare proxied subdomain
}
# Custom rules for single-page app