added reading to the file, msi works on windows only. exe works if there is exiftool
This commit is contained in:
2
main.go
2
main.go
@@ -261,7 +261,7 @@ func upload() http.Handler {
|
||||
fn,_:=os.OpenFile("Data/"+filename, os.O_CREATE, 0666)
|
||||
fn.Write(fileBytes)
|
||||
fn.Close()
|
||||
getParamsFromExif("Data/"+filename)
|
||||
log.Println(getDataFromFile("Data/"+filename))
|
||||
})}
|
||||
|
||||
// index creates an HTTP handler that serves the main page with data from the database.
|
||||
|
Reference in New Issue
Block a user