Hello, so Iām getting an āpanel blankā when Iām trying to access it with this error in console:
index.js:1
DOMException: Failed to execute 'pushState' on 'History': A history state object with URL 'http://hasty.ai/panel/login' cannot be created in a document with origin 'https://hasty.ai' and URL 'https://hasty.ai/panel/login'.
at Object.onPushState (https://hasty.ai/media/panel/8b70b6d1b31f21fe005bf6002beb90f7/js/index.js:1:7778)
at pt.setState (https://hasty.ai/media/panel/8b70b6d1b31f21fe005bf6002beb90f7/js/index.js:1:18156)
at pt.init (https://hasty.ai/media/panel/8b70b6d1b31f21fe005bf6002beb90f7/js/index.js:1:16365)
at a.created (https://hasty.ai/media/panel/8b70b6d1b31f21fe005bf6002beb90f7/js/index.js:1:7473)
at Vt (https://hasty.ai/media/panel/8b70b6d1b31f21fe005bf6002beb90f7/js/vendor.js:6:11291)
at nn (https://hasty.ai/media/panel/8b70b6d1b31f21fe005bf6002beb90f7/js/vendor.js:6:25303)
at a.Cn._init (https://hasty.ai/media/panel/8b70b6d1b31f21fe005bf6002beb90f7/js/vendor.js:6:32894)
at new a (https://hasty.ai/media/panel/8b70b6d1b31f21fe005bf6002beb90f7/js/vendor.js:6:30461)
at https://hasty.ai/media/panel/8b70b6d1b31f21fe005bf6002beb90f7/js/vendor.js:6:19454
at init (https://hasty.ai/media/panel/8b70b6d1b31f21fe005bf6002beb90f7/js/vendor.js:6:19485)
error @ index.js:1
index.js:1
Mixed Content: The page at 'https://hasty.ai/panel/login' was loaded over HTTPS, but requested an insecure resource 'http://hasty.ai/api/auth'. This request has been blocked; the content must be served over HTTPS.
request @ index.js:1
get @ index.js:1
user @ index.js:1
index.js:1
TypeError: Failed to fetch
at Object.request (index.js:1:3022)
at Object.get (index.js:1:3630)
at user (index.js:1:5391)
Mentions:
- Iām using a public folder structure
- set url to āhttps://hasty.aiā
- php 8.0 with kirby 3.6.5
- kirby is installed with composer in vendor
- already deleted media without any effect
- user and group are www-data
- permissions are 755 for folders and 644 for files
Hereās my .htaccess as well:
# Kirby .htaccess
# Core rewrite rules
<IfModule mod_rewrite.c>
RewriteEngine on
# Make sure to set the RewriteBase correctly if you are running
# the site in a subfolder otherwise links or the entire site will break.
# RewriteBase /
# Block files and folders beginning with a dot, such as `.git`, except for
# the `.well-known` folder, which is used for Let's Encrypt and `security.txt`.
RewriteRule (^|/)\.(?!well-known\/) index.php [L]
# Make site links work.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php [L]
</IfModule>
# Pass the Authorization header to PHP.
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
# Allow cross-origin access to web fonts.
<IfModule mod_headers.c>
<FilesMatch "\.(otf|woff2?)$">
Header set Access-Control-Allow-Origin "*"
</FilesMatch>
</IfModule>
# Compression for better web performance
<IfModule mod_deflate.c>
# Force compression for mangled `Accept-Encoding` request headers.
<IfModule mod_setenvif.c>
<IfModule mod_headers.c>
SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)\s*,?\s*)+|[X~-]{4,13}$ HAVE_Accept-Encoding
RequestHeader append Accept-Encoding "gzip,deflate" env=HAVE_Accept-Encoding
</IfModule>
</IfModule>
# Compress all output labeled with one of the following media types.
<IfModule mod_filter.c>
AddOutputFilterByType DEFLATE "application/atom+xml" \
"application/javascript" \
"application/json" \
"application/ld+json" \
"application/manifest+json" \
"application/rdf+xml" \
"application/rss+xml" \
"application/schema+json" \
"application/geo+json" \
"application/wasm" \
"application/x-font-ttf" \
"application/x-javascript" \
"application/x-web-app-manifest+json" \
"application/xhtml+xml" \
"application/xml" \
"font/opentype" \
"font/otf" \
"image/bmp" \
"image/svg+xml" \
"text/cache-manifest" \
"text/calendar" \
"text/css" \
"text/html" \
"text/javascript" \
"text/plain" \
"text/markdown" \
"text/vcard" \
"text/vtt" \
"text/x-component" \
"text/x-cross-domain-policy" \
"text/xml"
</IfModule>
</IfModule>