sharing: normalize.min.css does not load #851
-
DescriptionWhen visiting a publicly shared note from an anonymous browser there is this error in developer tools:
TriliumNext Versionv0.90.12 What operating system are you using?Other Linux What is your setup?Server access only Operating System VersionPika Pods container Error logsNo response |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
@maphew , I cannot reproduce this issue. Are you sure you are not using a custom share template that might be affecting this? See https://triliumnext.pikapod.net/share/fmFFWRBhf3Xm for reference. |
Beta Was this translation helpful? Give feedback.
-
I am using a custom share template, but assumed since the path is within v0.90.12 tree it wasn't coming from the custom theme. Ahh, found it, |
Beta Was this translation helpful? Give feedback.
-
I see normalize.min.css was pulled out of repo as part of #224, which looks worthwhile. The thread is not clear on how to refer to or use the no-longer-hardcoded libraries now though. Can you offer insight on that? |
Beta Was this translation helpful? Give feedback.
-
There is no constraint on using any of the application's dependencies. However you have to make sure they are kept up to date, as there is no guarantee they will not change in time. For your case, you can use: |
Beta Was this translation helpful? Give feedback.
There is no constraint on using any of the application's dependencies. However you have to make sure they are kept up to date, as there is no guarantee they will not change in time.
For your case, you can use:
../<%= assetPath %>/node_modules/normalize.css/normalize.css