Rename chatbot CSS to bypass InfinityFree firewall

This commit is contained in:
ssbg04 committed 2026-06-06 09:42:36 +08:00
1 parent c21c6cdbed
commit c12d9fb5e3
4 files changed
+54 -3

No files matched your search

+51
View File
@@ -0,0 +1,51 @@
php_value display_errors On
php_value date.timezone Asia/Singapore
# ==============================
# BASIC SETTINGS
# ==============================
# Prevent directory listing
Options -Indexes
# ==============================
# CACHE CONTROL (No caching)
# ==============================
<IfModule mod_headers.c>
Header set Cache-Control "no-cache, no-store, must-revalidate"
Header set Pragma "no-cache"
Header set Expires 0
</IfModule>
# ==============================
# FORCE HTTPS
# ==============================
<IfModule mod_rewrite.c>
RewriteEngine On
# Redirect HTTP to HTTPS
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</IfModule>
# ==============================
# GZIP / COMPRESSION (Optional)
# ==============================
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/css text/javascript application/javascript application/json
</IfModule>
# ==============================
# CLEAN URLS (Optional)
# ==============================
<IfModule mod_rewrite.c>
RewriteEngine On
# If request is not a real file, rewrite to .php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-zA-Z0-9_-]+)$ $1.php [L]
</IfModule>
# ==============================
# CUSTOM 404 PAGE (Optional)
# ==============================
ErrorDocument 404 /404.html
File renamed without changes.
+1 -1
View File
@@ -10,6 +10,6 @@
@import url('modules/_hero.css');
@import url('modules/_cards.css');
@import url('modules/_contact.css');
@import url('modules/_chatbot.css');
@import url('modules/_assistant.css');
@import url('modules/_utilities.css');
@import url('modules/_responsive.css');
+2 -2
View File
@@ -32,8 +32,8 @@ $contactEmail = $_ENV['CONTACT_EMAIL'] ?? getenv('CONTACT_EMAIL')
<meta name="description" content="Cris Charles Garcia — BSIT Software Development student based in Laguna, Philippines. Building digital products with purpose using MERN Stack and PHP.">
<title>Cris Charles Garcia | Software Developer</title>
<link rel="icon" type="image/svg+xml" href="assets/img/favicon.svg">
<link rel="stylesheet" href="assets/css/style.css?v=2.0.5">
<link rel="stylesheet" href="assets/css/modules/_chatbot.css?v=2.0.5">
<link rel="stylesheet" href="assets/css/style.css?v=2.0.6">
<link rel="stylesheet" href="assets/css/modules/_assistant.css?v=2.0.6">
<script src="https://www.google.com/recaptcha/enterprise.js?render=<?php echo htmlspecialchars($recaptchaSiteKey); ?>"></script>
</head>
<body>