Skip to content

Set Maptiler key at runtime instead of build time#2540

Merged
ludovicm67 merged 3 commits intomainfrom
maptiler-runtime
Apr 20, 2026
Merged

Set Maptiler key at runtime instead of build time#2540
ludovicm67 merged 3 commits intomainfrom
maptiler-runtime

Conversation

@ludovicm67
Copy link
Copy Markdown
Contributor

Currently, the Maptiler key was injected at build time.
In order to set a custom key per environment, we would need to be able to inject the key at runtime instead.
This PR allows defining the key at runtime.


  • I added a CHANGELOG entry
  • I made a self-review of my own code

@ludovicm67 ludovicm67 requested a review from hupf March 24, 2026 09:51
@ludovicm67 ludovicm67 self-assigned this Mar 24, 2026
@ludovicm67 ludovicm67 added the enhancement New feature or request label Mar 24, 2026
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Mar 24, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
visualization-tool Ready Ready Preview, Comment Apr 20, 2026 1:01pm

Request Review

Comment thread app/domain/env.ts Outdated
Comment thread app/.env.development Outdated
@ludovicm67
Copy link
Copy Markdown
Contributor Author

I just rebased on main, so that the branch is up-to-date.

@hupf could you check if everything still looks good for you?
If so, we can merge it.

I'll already configure TEST with the value for MAPTILER_API_KEY.

@ludovicm67 ludovicm67 requested a review from hupf April 20, 2026 12:53
@ludovicm67 ludovicm67 merged commit a3733b7 into main Apr 20, 2026
12 checks passed
@ludovicm67 ludovicm67 deleted the maptiler-runtime branch April 20, 2026 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants