-
-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSS/JS injection folder #29
Comments
Hello. Thank you for your idea! You actually don't have to fork and re-compile the whole project to inject custom CSS/JS or perform any other modifications to the frontend as it is a simple folder inside the Docker container. If you need any further advice feel free to ask in this issue ^^ |
A Discord conversation led to following proposal: A custom CSS/JS folder one can mount to the Docker container which allows injection of custom CSS/JS files. |
Currently adding any custom JS/CSS means, the person has to manually fork and edit the code, would request for an environment variable which can take the source of a JS/CSS file to be included at
<head>
Proposal can be:
PASTY_CUSTOM_CSS
andPASTY_CUSTOM_JS
which would hold values to URLs having the JS/CSS respectively.The text was updated successfully, but these errors were encountered: