Compare commits
No commits in common. "a32ced531f0146b2ad191e787a6b2aaf5149cf28" and "330385a3571719727a3a5af312894e6d67d853c4" have entirely different histories.
a32ced531f
...
330385a357
13
.drone.yml
13
.drone.yml
@ -8,19 +8,6 @@ trigger:
|
|||||||
|
|
||||||
# STAGING!!!!!!!!!!!!!
|
# STAGING!!!!!!!!!!!!!
|
||||||
steps:
|
steps:
|
||||||
- name: upload
|
|
||||||
image: plugins/s3
|
|
||||||
settings:
|
|
||||||
bucket: internetica-galactica
|
|
||||||
access_key:
|
|
||||||
from_secret: scw_access_key_id
|
|
||||||
secret_key:
|
|
||||||
from_secret: scw_secret_access_key
|
|
||||||
endpoint: https://s3.nl-ams.scw.cloud
|
|
||||||
region: nl-ams
|
|
||||||
source: web/**/*
|
|
||||||
target: /
|
|
||||||
acl: public-read
|
|
||||||
- name: docker
|
- name: docker
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
|
@ -31,7 +31,6 @@ type guestbook struct {
|
|||||||
) // Handler to implement which calls the api
|
) // Handler to implement which calls the api
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: The comments are loaded like 2 or 3 times every time the page is loaded...
|
|
||||||
func (g *guestbook) OnMount(ctx app.Context) {
|
func (g *guestbook) OnMount(ctx app.Context) {
|
||||||
g.LoadComments(ctx)
|
g.LoadComments(ctx)
|
||||||
}
|
}
|
||||||
|
@ -57,7 +57,6 @@ func main() {
|
|||||||
"/web/static/havakana.css",
|
"/web/static/havakana.css",
|
||||||
"/web/static/form.css",
|
"/web/static/form.css",
|
||||||
},
|
},
|
||||||
Resources: app.RemoteBucket("https://internetica-galactica.s3.nl-ams.scw.cloud"),
|
|
||||||
CacheableResources: []string{},
|
CacheableResources: []string{},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user