Skip to content

Commit

Permalink
Fixed env.
Browse files Browse the repository at this point in the history
  • Loading branch information
SamTV12345 committed Nov 13, 2024
1 parent a3b9f70 commit c09e951
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions app/plugins/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@ import {PluginViewerHeader} from "../../src/pagesToDisplay/PluginViewerHeader";
import {PluginsList} from "../../src/pagesToDisplay/PluginsList";
import {PluginsFooter} from "../../src/pagesToDisplay/PluginsFooter";


const productionURL = "https://static.etherpad.org"
let productionURL: string
if (process.env.NODE_ENV == 'development') {
productionURL = ""
} else {
productionURL = "https://static.etherpad.org"
}

export default function PluginViewer() {

Expand Down

0 comments on commit c09e951

Please sign in to comment.