nicer webui

This commit is contained in:
Shihaam Abdul Rahman 2024-08-03 12:09:16 +05:00
parent 8b7830bddc
commit 32c43c13ce
Signed by: shihaam
GPG Key ID: 6DA2E87EBC227636
3 changed files with 2 additions and 2 deletions

View File

@ -16,6 +16,6 @@ RUN rm -rf \
/var/lib/{apt,dpkg} \
/var/{cache,log,spool} \
/var/www/html/{.git,.build,README.md,env.example,docker-compose.yml,.gitignore}
RUN mkdir -p logs
RUN mkdir -p uploads && chmod 777 -R uploads/
CMD python3 -m http.server --cgi 8000 --directory public

View File

@ -49,7 +49,7 @@
</head>
<body>
<h1>Upload Recipt</h1>
<form action="/cgi-bin/api.cgi" method="post" enctype="multipart/form-data">
<form action="/reciptocr/api.cgi" method="post" enctype="multipart/form-data">
<label for="file">Select an image (PNG or JPEG):</label>
<input type="file" name="file" id="file" accept=".png, .jpeg, .jpg">
<input type="submit" value="Upload">

0
uploads/.gitkeep Normal file
View File