Skip to content

Commit

Permalink
Add ssl things
Browse files Browse the repository at this point in the history
Signed-off-by: Manank Patni <[email protected]>
  • Loading branch information
Man-Jain committed Jul 21, 2023
1 parent 49c44e3 commit 797c7c7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ app.post("/deploy", async (req, res) => {
const { metadataParams, params } = body

const template: DAOTemplate = "lambda"
const network: Network = "ghostnet"
const network: Network = metadataParams.metadata.frozenToken.governanceToken.tokenMetadata.network

const newTezos: TezosToolkit = initTezosInstance("ghostnet")
const newTezos: TezosToolkit = initTezosInstance(network)
const signer = await InMemorySigner.fromSecretKey(ALICE_PRIV_KEY)
newTezos.setProvider({ signer })

Expand Down Expand Up @@ -101,6 +101,6 @@ app.post("/deploy", async (req, res) => {

const httpsServer = https.createServer(credentials, app)

httpsServer.listen(3001, () => {
console.log("HTTPS Server running on port 443")
httpsServer.listen(port, () => {
console.log("HTTPS Server running on port", port)
})

0 comments on commit 797c7c7

Please sign in to comment.