fix breaking login and wrong port
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
</a> -->
|
||||
|
||||
<h1 align="center" style="margin-bottom:0">Hammond</h1>
|
||||
<p align="center">Current Version - 2021.06.01</p>
|
||||
<p align="center">Current Version - 2021.06.07</p>
|
||||
|
||||
<p align="center">
|
||||
A self-hosted vehicle expense tracking system with support for multiple users.
|
||||
@@ -88,13 +88,13 @@ The easiest way to run Hammond is to run it as a docker container.
|
||||
Simple setup without mounted volumes (for testing and evaluation)
|
||||
|
||||
```sh
|
||||
docker run -d -p 8080:8080 --name=hammond akhilrex/hammond
|
||||
docker run -d -p 3000:3000 --name=hammond akhilrex/hammond
|
||||
```
|
||||
|
||||
Binding local volumes to the container
|
||||
|
||||
```sh
|
||||
docker run -d -p 8080:8080 --name=hammond -v "/host/path/to/assets:/assets" -v "/host/path/to/config:/config" akhilrex/hammond
|
||||
docker run -d -p 3000:3000 --name=hammond -v "/host/path/to/assets:/assets" -v "/host/path/to/config:/config" akhilrex/hammond
|
||||
```
|
||||
|
||||
### Using Docker-Compose
|
||||
|
||||
@@ -12,7 +12,7 @@ type LoginResponse struct {
|
||||
|
||||
type LoginRequest struct {
|
||||
Email string `form:"email" json:"email" binding:"required,email"`
|
||||
Password string `form:"password" json:"password" binding:"required,min=6,max=255"`
|
||||
Password string `form:"password" json:"password" binding:"required,max=255"`
|
||||
}
|
||||
|
||||
type RegisterRequest struct {
|
||||
|
||||
@@ -172,7 +172,7 @@ export default {
|
||||
<table class="table is-hoverable">
|
||||
<tr>
|
||||
<td>Current Version</td>
|
||||
<td>2021.06.01</td>
|
||||
<td>2021.06.07</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Website</td>
|
||||
|
||||
Reference in New Issue
Block a user