Skip to content

Commit

Permalink
Public instance config
Browse files Browse the repository at this point in the history
  • Loading branch information
barnettwilliam committed Apr 12, 2024
1 parent fe88277 commit efda493
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion platform/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ COPY package*.json ./
COPY platform/ ./platform/

# Refer to readme.md for a complete list of supported environment varibles
ARG TOKEN_SERVER_URL=http://127.0.0.1:10000
ARG TOKEN_SERVER_URL=https://mdenet-ep.sites.er.kcl.ac.uk
ARG FEEDBACK_SURVEY_URL=https://forms.office.com/Pages/ResponsePage.aspx?id=FM9wg_MWFky4PHJAcWVDVraRChPUQ-ZGrubhv7wZFeNUM0M4VVQ4SU9MRFVWUUFJSldWU05CUUNCWC4u

RUN npm ci --workspace=platform\
&& npm run build --workspace=platform --\
Expand Down
3 changes: 2 additions & 1 deletion platform/src/XtextEditorPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ class XtextEditorPanel extends Panel {
enableCors: true,
syntaxDefinition: modeName,
parent: editorContainer,
xtextLang: extension
xtextLang: extension,
sendFullText: true
});
});

Expand Down
6 changes: 3 additions & 3 deletions tokenserver/src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ export const config = {

cookieOptions: {
httpOnly: true,
secure: false,
sameSite: 'lax',
secure: true,
sameSite: 'strict',
path: '/'
},

githubApiVersion : '2022-11-28'

}
}

0 comments on commit efda493

Please sign in to comment.