feat: Added env settings for image proxy
This commit is contained in:
parent
72575edcc3
commit
4d197aaeea
2
.env.sample
Normal file
2
.env.sample
Normal file
@ -0,0 +1,2 @@
|
||||
VITE_APP_NAME=slidestr.net
|
||||
VITE_IMAGE_PROXY=https://imgproxy.slidestr.net
|
5
TODO.md
5
TODO.md
@ -1,11 +1,7 @@
|
||||
# TODO
|
||||
- add load more, to load older events
|
||||
- repair auto login
|
||||
- store NIP46 secret key
|
||||
- Fix/Test zaps
|
||||
- Reimplement Likes/Zaps based in ngine code
|
||||
- Investigate profile caching
|
||||
- Avatar display is laggy, needs caching
|
||||
- move settings dialog to main start screen
|
||||
- replace search icon with nav back button
|
||||
- record demo explaination video
|
||||
@ -17,3 +13,4 @@
|
||||
- think about use of ui framework, and redesign settings dialog
|
||||
- move NSFW block list into a list event on an slidestr.net profile (public nsfw mute list)
|
||||
- Add key/salt to imageproxy, see snort impl
|
||||
- caching of preprocessed images with index?
|
||||
|
@ -1,6 +1,9 @@
|
||||
import { nip19 } from 'nostr-tools';
|
||||
|
||||
export const appName = 'slidestr.net';
|
||||
export const imageProxy = import.meta.env.VITE_IMAGE_PROXY || 'https://imgproxy.slidestr.net';
|
||||
|
||||
export const appName = import.meta.env.VITE_APP_NAME || 'slidestr.net';
|
||||
|
||||
type Topic = {
|
||||
name?: string;
|
||||
tags: string[];
|
||||
|
Loading…
Reference in New Issue
Block a user