diff --git a/Seasoned.Backend/Program.cs b/Seasoned.Backend/Program.cs index 9ab5fdb..c1f173a 100644 --- a/Seasoned.Backend/Program.cs +++ b/Seasoned.Backend/Program.cs @@ -99,6 +99,7 @@ app.UseForwardedHeaders(new ForwardedHeadersOptions app.UseDefaultFiles(); app.UseStaticFiles(); +app.UseRouting(); app.UseCors("SeasonedOriginPolicy"); app.UseAuthentication(); app.UseAuthorization(); diff --git a/Seasoned.Frontend/nuxt.config.ts b/Seasoned.Frontend/nuxt.config.ts index 90ded5d..596313c 100644 --- a/Seasoned.Frontend/nuxt.config.ts +++ b/Seasoned.Frontend/nuxt.config.ts @@ -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' }, diff --git a/Seasoned.Frontend/public/images/image-preview.png b/Seasoned.Frontend/public/images/image-preview.png new file mode 100644 index 0000000..3dd7eee Binary files /dev/null and b/Seasoned.Frontend/public/images/image-preview.png differ