mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-08 17:44:16 +00:00
a9bcf0567d
* origin/main: (40 commits) Adding jsit to codeowners. Cleanup, only check for /u/ if /c/ and /m/ checks fail Rename function to be more generic, since it parses users Typescript linter fixes bandaid fix our video embeds Remove pipe from community link regex Add missing classes Use shorter regex in community link parser Move regex pattern to config Update community link markdown parsing Fix avatar alignment issue (#1475) Omit user-scalable to use default Update getHttpBase dependency reference Enable users to zoom on mobile rethink it a bit rethink it a bit add fallback style tag move env utils into folder fix capitalization (#1467) Fix buildThemeList() function to ensure no duplicates (#1466) ... |
||
---|---|---|
.github | ||
.husky | ||
lemmy-translations@a241fe1255 | ||
src | ||
.babelrc | ||
.dockerignore | ||
.eslintignore | ||
.eslintrc.json | ||
.gitignore | ||
.gitmodules | ||
.prettierignore | ||
.prettierrc.json | ||
.woodpecker.yml | ||
accessibility_tests.sh | ||
CONTRIBUTING.md | ||
deploy.sh | ||
dev.dockerfile | ||
Dockerfile | ||
generate_translations.js | ||
LICENSE | ||
package.json | ||
README.md | ||
test_deploy.sh | ||
tsconfig.json | ||
update_translations.sh | ||
webpack.config.js | ||
yarn.lock |
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_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> . |