-
I use ISPmanager on my server. Can I deploy this application on it so as not to use vercel? |
Beta Was this translation helpful? Give feedback.
Answered by
Zo-Bro-23
Feb 17, 2023
Replies: 1 comment 6 replies
-
You have to use express. Please try the following steps:
import statsCard from './api/index.js'
import repoCard from './api/pin.js'
import langCard from './api/top-langs.js'
import wakatimeCard from './api/wakatime.js'
import * as express from 'express'
const app = express()
app.listen(YOUR_PORT)
app.get('/', statsCard)
app.get('/pin', repoCard)
app.get('/top-langs', langCard)
app.get('/wakatime', wakatimeCard)
|
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
Zo-Bro-23
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You have to use express. Please try the following steps:
express.js
in the root foldernpm i express
node express.js
to start the server