Update server.js
Browse files
server.js
CHANGED
|
@@ -5,7 +5,7 @@ const cheerio = require('cheerio')
|
|
| 5 |
const app = express()
|
| 6 |
const PORT = 7860
|
| 7 |
|
| 8 |
-
app.get('/
|
| 9 |
try {
|
| 10 |
const response = await axios.get('https://growagarden.gg/stocks')
|
| 11 |
const $ = cheerio.load(response.data)
|
|
|
|
| 5 |
const app = express()
|
| 6 |
const PORT = 7860
|
| 7 |
|
| 8 |
+
app.get('/', async (req, res) => {
|
| 9 |
try {
|
| 10 |
const response = await axios.get('https://growagarden.gg/stocks')
|
| 11 |
const $ = cheerio.load(response.data)
|