Compare commits

..

No commits in common. "3a27b968511e93c16d6c2af2fb5e9d53409c1018" and "bb72776be8370071f945c20955740c1919fd0b80" have entirely different histories.

6 changed files with 7 additions and 8 deletions

View file

@ -15,7 +15,7 @@ class QueryHandler extends BaseHandler
protected function ensureAllowedOrigin(): void protected function ensureAllowedOrigin(): void
{ {
$allowedHosts = ['coryd.dev', 'www.coryd.dev', 'localhost']; $allowedHosts = ['coryd.dev', 'www.coryd.dev'];
$origin = $_SERVER['HTTP_ORIGIN'] ?? ''; $origin = $_SERVER['HTTP_ORIGIN'] ?? '';
$referer = $_SERVER['HTTP_REFERER'] ?? ''; $referer = $_SERVER['HTTP_REFERER'] ?? '';

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "3.7.3", "version": "3.7.0",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "coryd.dev", "name": "coryd.dev",
"version": "3.7.3", "version": "3.7.0",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"html-minifier-terser": "7.2.0", "html-minifier-terser": "7.2.0",

View file

@ -1,6 +1,6 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "3.7.3", "version": "3.7.0",
"description": "The source for my personal site. Built using 11ty (and other tools).", "description": "The source for my personal site. Built using 11ty (and other tools).",
"type": "module", "type": "module",
"engines": { "engines": {

View file

@ -61,9 +61,9 @@ dialog {
} }
@media (min-width: 768px) { @media (min-width: 768px) {
max-width: calc(var(--sizing-full) * .6); max-width: calc(var(--sizing-full) * .75);
max-height: calc(var(--sizing-full) * .75); max-height: calc(var(--sizing-full) * .75);
inset: calc(var(--sizing-full) * .125) calc(var(--sizing-full) * .2); inset: calc(var(--sizing-full) * .125);
border: var(--border-gray); border: var(--border-gray);
} }

View file

@ -4,7 +4,7 @@
{%- elsif pageUpdated -%} {%- elsif pageUpdated -%}
{%- assign updateTime = page.updated | date:"%B %-d, %l:%M %P", "America/Los_Angeles" -%} {%- assign updateTime = page.updated | date:"%B %-d, %l:%M %P", "America/Los_Angeles" -%}
{%- endif -%} {%- endif -%}
<footer> <footer{% unless updateTime %} style="margin-top:var(--spacing-3xl)"{% endunless %}>
{%- if updateTime -%} {%- if updateTime -%}
<p class="updated"><em>This page was last updated on {{ updateTime | strip }}.</em></p> <p class="updated"><em>This page was last updated on {{ updateTime | strip }}.</em></p>
{%- endif -%} {%- endif -%}

View file

@ -1,6 +1,5 @@
--- ---
permalink: / permalink: /
updated: "now"
--- ---
{% render "home/intro.liquid" {% render "home/intro.liquid"
intro:globals.intro, intro:globals.intro,