nicer webui
This commit is contained in:
parent
8b7830bddc
commit
32c43c13ce
@ -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
|
||||
|
@ -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
0
uploads/.gitkeep
Normal file
Loading…
x
Reference in New Issue
Block a user