mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
db046b2d1c
This adds support for i18n so that users may be presented a familiar language to the language the browser language they are using automatically. Currently supported languages: en, es. Co-authored-by: Amir Zarrinkafsh <nightah@me.com> Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
16 lines
492 B
TypeScript
16 lines
492 B
TypeScript
import React from "react";
|
|
|
|
import ReactDOM from "react-dom";
|
|
|
|
import "@root/index.css";
|
|
import App from "@root/App";
|
|
import * as serviceWorker from "@root/serviceWorker";
|
|
import "./i18n/index.ts";
|
|
|
|
ReactDOM.render(<App />, document.getElementById("root"));
|
|
|
|
// If you want your app to work offline and load faster, you can change
|
|
// unregister() to register() below. Note this comes with some pitfalls.
|
|
// Learn more about service workers: https://bit.ly/CRA-PWA
|
|
serviceWorker.unregister();
|