removed unnecessary entrypoint code
This commit is contained in:
@@ -23,4 +23,4 @@ RUN chmod +x entrypoint.sh
|
||||
|
||||
COPY --from=builder /source/build /usr/share/nginx/html
|
||||
|
||||
ENTRYPOINT ["./entrypoint.sh"]
|
||||
ENTRYPOINT ["./entrypoint.s"]
|
||||
@@ -4,11 +4,11 @@ import getConfig from "../config/config";
|
||||
const config = getConfig();
|
||||
|
||||
const keycloak = new Keycloak({
|
||||
url: config.REACT_APP_KC_HOSTNAME || process.env.REACT_APP_KC_HOSTNAME,
|
||||
url: config.REACT_APP_KC || process.env.REACT_APP_KC,
|
||||
realm: "Jodel",
|
||||
clientId: "jodel-frontend",
|
||||
});
|
||||
|
||||
keycloak.init({ onLoad: 'login-required' }).then((authenticated) => {});
|
||||
//keycloak.init({ onLoad: 'login-required' }).then((authenticated) => {});
|
||||
|
||||
export default keycloak;
|
||||
@@ -4,7 +4,7 @@ import keycloak from "../Authentification/Keycloak";
|
||||
import getConfig from "../config/config";
|
||||
|
||||
const config = getConfig();
|
||||
const path = config.REACT_APP_API_HOSTNAME || process.env.REACT_APP_API_HOSTNAME;
|
||||
const path = config.REACT_APP_API || process.env.REACT_APP_API;
|
||||
|
||||
export const postApi = {
|
||||
async getPostsByCoords (lat, lon) {
|
||||
|
||||
Reference in New Issue
Block a user