fix image preview

This commit is contained in:
2026-03-21 00:04:17 +00:00
parent 30b5ff8cdd
commit dc732429ff
3 changed files with 10 additions and 1 deletions

View File

@@ -99,6 +99,7 @@ app.UseForwardedHeaders(new ForwardedHeadersOptions
app.UseDefaultFiles();
app.UseStaticFiles();
app.UseRouting();
app.UseCors("SeasonedOriginPolicy");
app.UseAuthentication();
app.UseAuthorization();

View File

@@ -2,7 +2,7 @@ export default defineNuxtConfig({
future: {
compatibilityVersion: 4,
},
ssr: true,
ssr: false,
srcDir: 'app/',
dir: {
public: 'public/'
@@ -20,6 +20,14 @@ export default defineNuxtConfig({
buildAssetsDir: '_nuxt',
head: {
title: 'Seasoned',
meta: [
{ property: 'og:site_name', content: 'Seasoned' },
{ property: 'og:title', content: 'AI powered recipe app' },
{ property: 'og:description', content: 'Discover and preserve tradtions in one place.' },
{ property: 'og:image', content: 'https://seasoned.ddns.net/images/image-preview.png' },
{ property: 'og:type', content: 'website' },
{ name: 'twitter:card', content: 'summary_large_image' }
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
{ rel: 'apple-touch-icon', sizes: '180x180', href: '/apple-touch-icon.png' },

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB