Skip to content

Commit

Permalink
update config file generated by init command
Browse files Browse the repository at this point in the history
  • Loading branch information
patinthehat committed Aug 19, 2023
1 parent dfbce03 commit 5aa744c
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions lib/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -317,13 +317,15 @@ func (a *Application) createNewConfigFile() {
domains:
allowed:
- '*.githubusercontent.com'
- '*.github.com'
hosts:
- hostname: *.github.com
gateway: allow
headers:
- 'Accept: application/vnd.github.v3+json'
gateway:
content-types:
blocked:
allowed:
- application/json
- text/*
- '*'
includes:
- url: gh:permafrost-dev/stackup/main/templates/remote-includes/containers.yaml
Expand All @@ -350,8 +352,7 @@ func (a *Application) createNewConfigFile() {

func (a *Application) checkForApplicationUpdates() {
updateAvailable, release := updater.
New(a.Gateway).
IsLatestApplicationReleaseNewerThanCurrent(a.Workflow.Cache, version.APP_VERSION, "permafrost-dev/stackup")
New(a.Gateway).IsLatestApplicationReleaseNewerThanCurrent(a.Workflow.Cache, version.APP_VERSION, "permafrost-dev/stackup")

if updateAvailable {
support.WarningMessage(fmt.Sprintf("A new version of StackUp is available, released %s.", release.TimeSinceRelease()))
Expand Down

0 comments on commit 5aa744c

Please sign in to comment.