mirror of https://github.com/JustKato/FreePad.git
* Updated Versioning
This commit is contained in:
parent
5414dab201
commit
23fa17b840
|
@ -1,3 +1,6 @@
|
|||
# 1.1.1
|
||||
The freepad version has been added as a header to the response
|
||||
|
||||
# 1.1.0
|
||||
Implemented a rate-limiting system, quite primitive and basic implementation on my part since it's looking at all requests not just the POST requests, this can be bad news if someone is using the service a ton and won't truly protect from floods as it's ip-based but should offer a level of security better than none.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
FROM alpine
|
||||
|
||||
LABEL version="1.1.0"
|
||||
LABEL version="1.1.1"
|
||||
|
||||
# Copy the distribution files
|
||||
COPY ./dist /app
|
||||
|
|
|
@ -6,7 +6,7 @@ func ApplyHeaders(router *gin.Engine) {
|
|||
|
||||
router.Use(func(ctx *gin.Context) {
|
||||
// Apply the header
|
||||
ctx.Header("FreePad-Version", "1.1.0")
|
||||
ctx.Header("FreePad-Version", "1.1.1")
|
||||
|
||||
// Move on
|
||||
ctx.Next()
|
||||
|
|
Loading…
Reference in New Issue