fix breaking login and wrong port
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
</a> -->
|
</a> -->
|
||||||
|
|
||||||
<h1 align="center" style="margin-bottom:0">Hammond</h1>
|
<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">
|
<p align="center">
|
||||||
A self-hosted vehicle expense tracking system with support for multiple users.
|
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)
|
Simple setup without mounted volumes (for testing and evaluation)
|
||||||
|
|
||||||
```sh
|
```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
|
Binding local volumes to the container
|
||||||
|
|
||||||
```sh
|
```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
|
### Using Docker-Compose
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ type LoginResponse struct {
|
|||||||
|
|
||||||
type LoginRequest struct {
|
type LoginRequest struct {
|
||||||
Email string `form:"email" json:"email" binding:"required,email"`
|
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 {
|
type RegisterRequest struct {
|
||||||
|
|||||||
@@ -172,7 +172,7 @@ export default {
|
|||||||
<table class="table is-hoverable">
|
<table class="table is-hoverable">
|
||||||
<tr>
|
<tr>
|
||||||
<td>Current Version</td>
|
<td>Current Version</td>
|
||||||
<td>2021.06.01</td>
|
<td>2021.06.07</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Website</td>
|
<td>Website</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user