fix image preview
This commit is contained in:
@@ -99,6 +99,7 @@ app.UseForwardedHeaders(new ForwardedHeadersOptions
|
|||||||
|
|
||||||
app.UseDefaultFiles();
|
app.UseDefaultFiles();
|
||||||
app.UseStaticFiles();
|
app.UseStaticFiles();
|
||||||
|
app.UseRouting();
|
||||||
app.UseCors("SeasonedOriginPolicy");
|
app.UseCors("SeasonedOriginPolicy");
|
||||||
app.UseAuthentication();
|
app.UseAuthentication();
|
||||||
app.UseAuthorization();
|
app.UseAuthorization();
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ export default defineNuxtConfig({
|
|||||||
future: {
|
future: {
|
||||||
compatibilityVersion: 4,
|
compatibilityVersion: 4,
|
||||||
},
|
},
|
||||||
ssr: true,
|
ssr: false,
|
||||||
srcDir: 'app/',
|
srcDir: 'app/',
|
||||||
dir: {
|
dir: {
|
||||||
public: 'public/'
|
public: 'public/'
|
||||||
@@ -20,6 +20,14 @@ export default defineNuxtConfig({
|
|||||||
buildAssetsDir: '_nuxt',
|
buildAssetsDir: '_nuxt',
|
||||||
head: {
|
head: {
|
||||||
title: 'Seasoned',
|
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: [
|
link: [
|
||||||
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
|
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
|
||||||
{ rel: 'apple-touch-icon', sizes: '180x180', href: '/apple-touch-icon.png' },
|
{ rel: 'apple-touch-icon', sizes: '180x180', href: '/apple-touch-icon.png' },
|
||||||
|
|||||||
BIN
Seasoned.Frontend/public/images/image-preview.png
Normal file
BIN
Seasoned.Frontend/public/images/image-preview.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 94 KiB |
Reference in New Issue
Block a user