No description
Find a file
SleeplessOne1917 ac2a83a7a6
Lint fix (#1035)
* User HTTP instead of HTTPS when fetching icon in docker internal network

* Add debug statement.

* Revert "Add debug statement."

This reverts commit 7fbb12a4bd.

* Revert "User HTTP instead of HTTPS when fetching icon in docker internal network"

This reverts commit 498de660ba.

* Always replace host with internal host

* Fix lint script

* Remove prettier from pre-commit

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-05-23 18:55:36 -04:00
.github Lint fix (#1035) 2023-05-23 18:55:36 -04:00
.husky Extra lints (#192) 2021-02-21 21:24:09 -05:00
lemmy-translations@a1fff8b481 Dont preselect new post language (#1008) 2023-05-13 16:07:05 -04:00
src Lint fix (#1035) 2023-05-23 18:55:36 -04:00
.babelrc Lint fix (#1035) 2023-05-23 18:55:36 -04:00
.dockerignore Somewhat working dockerfile, without the networking. 2020-09-09 18:56:02 -05:00
.eslintignore Lint fix (#1035) 2023-05-23 18:55:36 -04:00
.eslintrc.json Lint fix (#1035) 2023-05-23 18:55:36 -04:00
.gitignore Partly functioning fuse-box, but moving te webpack now. 2020-09-06 11:15:25 -05:00
.gitmodules Test submodules (#6) 2020-09-10 15:22:21 -04:00
.prettierignore Lint fix (#1035) 2023-05-23 18:55:36 -04:00
.prettierrc.json Adding Community Language fixes. #783 (#868) 2022-12-19 10:57:29 -05:00
.woodpecker.yml Lint fix (#1035) 2023-05-23 18:55:36 -04:00
accessibility_tests.sh use set -e in all bash scripts 2021-04-21 13:57:42 +02:00
CONTRIBUTING.md Fix Contributing link 2021-07-16 09:55:58 -04:00
deploy.sh Add version to package.json . Fixes #411 2021-09-14 19:13:13 -04:00
dev.dockerfile Add support for PWA (#1005) 2023-05-11 21:07:59 -04:00
Dockerfile Add support for PWA (#1005) 2023-05-11 21:07:59 -04:00
generate_translations.js I18 quality of life change (#973) 2023-04-03 09:28:56 -04:00
LICENSE Adding prettier 2020-08-23 00:04:58 -04:00
package.json Lint fix (#1035) 2023-05-23 18:55:36 -04:00
README.md Lint fix (#1035) 2023-05-23 18:55:36 -04:00
test_deploy.sh use set -e in all bash scripts 2021-04-21 13:57:42 +02:00
tsconfig.json Lint fix (#1035) 2023-05-23 18:55:36 -04:00
update_translations.sh use set -e in all bash scripts 2021-04-21 13:57:42 +02:00
webpack.config.js Make admin UI for allowing/blocking instances easier to work with (#1012) 2023-05-16 09:08:52 -04:00
yarn.lock Navbar hide menu fix (#1033) 2023-05-21 23:31:08 -04:00

lemmy-ui

The official web app for Lemmy, written in inferno.

Based off of MrFoxPro's inferno-isomorphic-template.

Configuration

The following environment variables can be used to configure lemmy-ui:

ENV_VAR type default description
LEMMY_UI_HOST string 0.0.0.0:1234 The IP / port that the lemmy-ui isomorphic node server is hosted at.
LEMMY_UI_LEMMY_INTERNAL_HOST string 0.0.0.0:8536 The internal IP / port that lemmy is hosted at. Often lemmy:8536 if using docker.
LEMMY_UI_LEMMY_EXTERNAL_HOST string 0.0.0.0:8536 The external IP / port that lemmy is hosted at. Often DOMAIN.TLD.
LEMMY_UI_LEMMY_WS_HOST string 0.0.0.0:8536 An alternate location for lemmy's websocket address. Not usually necessary.
LEMMY_UI_HTTPS bool false Whether to use https.
LEMMY_UI_EXTRA_THEMES_FOLDER string ./extra_themes A location for additional lemmy css themes.
LEMMY_UI_DEBUG bool false Loads the Eruda debugging utility.
LEMMY_UI_DISABLE_CSP bool false Disables CSP security headers
LEMMY_UI_CUSTOM_HTML_HEADER string Injects a custom script into <head>.