[PR #5015] [MERGED] chore: add VITE_PROXYSCOTCH_ACCESS_TOKEN to .env.example #5020

Closed
opened 2026-03-17 02:30:17 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/5015
Author: @Leon-Luu
Created: 4/23/2025
Status: Merged
Merged: 4/25/2025
Merged by: @AndrewBastin

Base: nextHead: pr/add_proxyscotch_acc_token_to_env_example


📝 Commits (1)

  • 961243d chore: add VITE_PROXYSCOTCH_ACCESS_TOKEN to .env.example

📊 Changes

1 file changed (+3 additions, -0 deletions)

View changed files

📝 .env.example (+3 -0)

📄 Description

Adding this to example will support selfhost proxy to use VITE_PROXYSCOTCH_ACCESS_TOKEN correctly.

Closes #
https://github.com/hoppscotch/hoppscotch/issues/3557

What's changed

In vite.config.ts: envPrefix: process.env.HOPP_ALLOW_RUNTIME_ENV ? "VITE_BUILDTIME_" : "VITE_"
And in prod.Dockerfile: ENV HOPP_ALLOW_RUNTIME_ENV=true

If VITE_PROXYSCOTCH_ACCESS_TOKEN is not available on .env.example then VITE_PROXYSCOTCH_ACCESS_TOKEN is never read.

Notes to reviewers


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/5015 **Author:** [@Leon-Luu](https://github.com/Leon-Luu) **Created:** 4/23/2025 **Status:** ✅ Merged **Merged:** 4/25/2025 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `next` ← **Head:** `pr/add_proxyscotch_acc_token_to_env_example` --- ### 📝 Commits (1) - [`961243d`](https://github.com/hoppscotch/hoppscotch/commit/961243decd85a6a89b9e960bcb37c586dbd7ff6b) chore: add VITE_PROXYSCOTCH_ACCESS_TOKEN to .env.example ### 📊 Changes **1 file changed** (+3 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `.env.example` (+3 -0) </details> ### 📄 Description Adding this to example will support selfhost proxy to use VITE_PROXYSCOTCH_ACCESS_TOKEN correctly. <!-- Thanks for creating this pull request 🤗 Please make sure that the pull request is limited to one type (docs, feature, etc.) and keep it as small as possible. You can open multiple prs instead of opening a huge one. --> <!-- If this pull request closes an issue, please mention the issue number below --> Closes # <!-- Issue # here --> https://github.com/hoppscotch/hoppscotch/issues/3557 <!-- Add an introduction into what this PR tries to solve in a couple of sentences --> ### What's changed <!-- Describe point by point the different things you have changed in this PR --> In vite.config.ts: envPrefix: process.env.HOPP_ALLOW_RUNTIME_ENV ? "VITE_BUILDTIME_" : "VITE_" And in prod.Dockerfile: ENV HOPP_ALLOW_RUNTIME_ENV=true If VITE_PROXYSCOTCH_ACCESS_TOKEN is not available on .env.example then VITE_PROXYSCOTCH_ACCESS_TOKEN is never read. <!-- You can also choose to add a list of changes and if they have been completed or not by using the markdown to-do list syntax - [ ] Not Completed - [x] Completed --> ### Notes to reviewers <!-- Any information you feel the reviewer should know about when reviewing your PR --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:30:17 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#5020
No description provided.