Skip to content

Commit

Permalink
🚀 remove env variable declared in toml files
Browse files Browse the repository at this point in the history
  • Loading branch information
Oculux314 committed Sep 10, 2024
1 parent 1d4e662 commit ab46d68
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
5 changes: 0 additions & 5 deletions next/fly.production.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,10 @@
app = "younite"
primary_region = "syd"

[env]
STRAPI_URL="https://edit.younite.wdcc.co.nz"

[[vm]]
memory = "1gb"
vm = "performance-1x"



[http_service]
internal_port = 3000
force_https = true
Expand Down
4 changes: 0 additions & 4 deletions next/fly.staging.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,10 @@
app = "younite-staging"
primary_region = "syd"

[env]
STRAPI_URL="https://staging.edit.younite.wdcc.co.nz"

[[vm]]
memory = "512mb"
vm = "shared-cpu-4x"


[http_service]
internal_port = 3000
force_https = true
Expand Down
2 changes: 1 addition & 1 deletion strapi/config/plugins.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = ({ env }) => {
const productionConfig =
process.env.NODE_ENV === "temp" // Should be production
process.env.NODE_ENV === "NEVER" // Should be process.env.NODE_ENV === "production"
? {
upload: {
config: {
Expand Down

0 comments on commit ab46d68

Please sign in to comment.