Avivash/add fission server url to app info (#68)
This commit is contained in:
parent
15cc1f06ed
commit
9bf8f8123f
|
|
@ -6,4 +6,4 @@ node_modules/
|
|||
build/
|
||||
|
||||
# macOS
|
||||
.DS_Store5
|
||||
.DS_Store
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
import { deleteImageFromWNFS } from '$lib/gallery'
|
||||
import { galleryStore } from '../../../stores'
|
||||
import type { Gallery, Image } from '$lib/gallery'
|
||||
import { fissionServerUrl } from '$lib/app-info'
|
||||
|
||||
export let image: Image
|
||||
export let isModalOpen: boolean = false
|
||||
|
|
@ -125,7 +126,7 @@
|
|||
</button>
|
||||
{/if}
|
||||
<img
|
||||
class="block object-cover object-center w-full h-full mb-4"
|
||||
class="block object-cover object-center w-full h-full mb-4 rounded-[1rem]"
|
||||
alt={`Image: ${image.name}`}
|
||||
src={image.src}
|
||||
/>
|
||||
|
|
@ -140,7 +141,7 @@
|
|||
</div>
|
||||
<div class="flex flex-col items-center justify-center">
|
||||
<a
|
||||
href={`https://ipfs.runfission.net/ipfs/${image.cid}/userland`}
|
||||
href={`https://ipfs.${fissionServerUrl}/ipfs/${image.cid}/userland`}
|
||||
target="_blank"
|
||||
class="underline mb-4 hover:text-slate-500"
|
||||
>
|
||||
|
|
|
|||
|
|
@ -2,3 +2,4 @@ export const appName = 'Awesome Webnative App'
|
|||
export const appDescription = 'This is another awesome Webnative app.'
|
||||
export const appURL = 'https://webnative.netlify.app'
|
||||
export const appImageURL = `${appURL}/preview.png`
|
||||
export const fissionServerUrl = 'runfission.com'
|
||||
|
|
|
|||
Loading…
Reference in New Issue