development -> main #1

Open
Christopher.Hase wants to merge 93 commits from development into main
2 changed files with 10 additions and 10 deletions
Showing only changes of commit 0f6dda2a5b - Show all commits

View file

@ -32,7 +32,7 @@ COPY --from=rust-build /usr/local/cargo/bin/iching /usr/local/bin/iching
### NEW ### ### NEW ###
RUN find dist/backend -name "*.js" -exec bash -c 'mv "$0" "${0%.js}.mjs"' {} \; RUN find dist/backend -name "*.js" -exec bash -c 'mv "$0" "${0%.js}.mjs"' {} \;
RUN find dist/frontend -name "*.js" -exec bash -c 'mv "$0" "${0%.js}.cjs"' {} \; RUN find dist/frontend -name "*.js" -exec bash -c 'mv "$0" "${0%.js}.mjs"' {} \;
#RUN mkdir -p dist/iching #RUN mkdir -p dist/iching
#RUN cp dist/*.js dist/iching/ #RUN cp dist/*.js dist/iching/

View file

@ -1,12 +1,12 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="de"> <html lang="de">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>Button mit TypeScript</title> <title>Button mit TypeScript</title>
</head> </head>
<body> <body>
<h1>Mein Button</h1> <h1>Mein Button</h1>
<button id="myButton">Klick mich!</button> <button id="myButton">Klick mich!</button>
<script type="module" src="./event.cjs"></script> <script type="module" src="./event.mjs"></script>
</body> </body>
</html> </html>