Skip to content

Commit

Permalink
Merge pull request #100 from AirWalk-Digital/feat/dynamic-etherapad-a…
Browse files Browse the repository at this point in the history
…ddress

Load etherpad url from api
  • Loading branch information
mcuckson authored Jul 18, 2023
2 parents f04d5ff + 98e0990 commit 091cbd5
Show file tree
Hide file tree
Showing 2 changed files with 92 additions and 299 deletions.
7 changes: 7 additions & 0 deletions pages/api/environment.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export default function handler(req, res) {
const environmentVariables = {
ETHERPAD_URL: process.env.ETHERPAD_URL,
};

res.status(200).json(environmentVariables);
}
Loading

0 comments on commit 091cbd5

Please sign in to comment.