+1
-2
src-tauri/src/util/handle_uri_proto.rs
+1
-2
src-tauri/src/util/handle_uri_proto.rs
+1
-1
src/Components/PhotoViewer.tsx
+1
-1
src/Components/PhotoViewer.tsx
···
262
262
if(!photoPath)
263
263
photoPath = await invoke('get_user_photos_path') + '/';
264
264
265
-
imageViewer.src = 'http://photo.localhost/' + (photoPath + props.currentPhotoView().path).split('\\').join('/') + "?full";
265
+
imageViewer.src = 'photo://' + (photoPath + props.currentPhotoView().path).split('\\').join('/') + "?full";
266
266
imageViewer.crossOrigin = 'anonymous';
267
267
})();
268
268