Skip to content

Commit

Permalink
chore: update Go version and configuration settings
Browse files Browse the repository at this point in the history
- Update Go version from `1.20` to `1.22`
- Rearrange `GO_IMPORT_PATH` and `GO_VERSION` lines
- Remove and re-add `to` configuration line for Netlify functions

Signed-off-by: Bo-Yi Wu <[email protected]>
  • Loading branch information
appleboy committed Jun 8, 2024
1 parent d1603ec commit 3d04575
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[build]
command = "make build_linux_lambda"
functions = "release/linux/lambda"
command = "make build_linux_lambda"
functions = "release/linux/lambda"

[build.environment]
GO_VERSION = "1.20"
GO_IMPORT_PATH = "github.com/appleboy/gorush"
GO111MODULE = "on"
GO111MODULE = "on"
GO_IMPORT_PATH = "github.com/appleboy/gorush"
GO_VERSION = "1.22"

[[redirects]]
from = "/*"
to = "/.netlify/functions/gorush/:splat"
status = 200
from = "/*"
status = 200
to = "/.netlify/functions/gorush/:splat"

0 comments on commit 3d04575

Please sign in to comment.