This commit is contained in:
Timo Bejan 2021-11-10 14:13:01 +02:00
parent d1aaa57f4f
commit 9226df2760
4 changed files with 4 additions and 1639 deletions

File diff suppressed because one or more lines are too long

View File

@ -6,7 +6,7 @@ server {
root /usr/share/nginx/html;
# SSL stuff for cloudflare proxy-ing - ignores SSL certificate and uses SNI
add_header Content-Security-Policy "default-src 'self'; style-src 'unsafe-inline' 'self';";
add_header Content-Security-Policy "default-src 'self'; style-src 'unsafe-inline' 'self'; script-src 'self' 'unsafe-eval'; script-src-elem 'data:*'; ";
proxy_ssl_verify off;

View File

@ -39,6 +39,7 @@ CMD ["/bin/cp", "-r", "/ng-app/dist/paligo-styles", "/tmp/styles-export"]
FROM nginx:1.19.2-alpine
RUN apk add --update nano && rm -rf /var/cache/apk/*
## Copy our default nginx config
COPY docker/common/nginx/nginx.conf /etc/nginx/conf.d/default.conf

View File

@ -90,7 +90,7 @@ async function execute() {
for (let key of Object.keys(flatEnglish)) {
try {
const result = tmfc.compile(flatEnglish[key], 'de');
//console.log(result);
console.log(result);
} catch (e) {
console.error('ERROR AT: ', flatEnglish[key]);
}