Display view count on a post
ironblockhd (419)

https://testcounter.ironblockhd.repl.co/c/2897ec429b2d First, you need to generate your image codes on https://testcounter.ironblockhd.repl.co.
You can embed the first image where you want to show the count. The second image is invisible, rendering it will increment the total count.

This post has https://testcounter.ironblockhd.repl.co/v/2897ec429b2d views (reset due to botters lol)

You are viewing a single comment. View All
Kudos (104)

Does anyone else see this error?
TypeError [ERR_INVALID_URL]: Invalid URL: undefined/views
at onParseError (internal/url.js:257:9)
at new URL (internal/url.js:333:5)
at request (https.js:287:30)
at Object.get (https.js:318:15) at req (/home/runner/databaseTempSync.js:4:10)
at Object.<anonymous> (/home/runner/databaseTempSync.js:14:3) at Module._compile (internal/modules/cjs/loader.js:1138:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
at Module.load (internal/modules/cjs/loader.js:986:32)
at Function.Module._load (internal/modules/cjs/loader.js:879:14) {
input: 'undefined/views',
code: 'ERR_INVALID_URL'
}

ironblockhd (419)

Noooo not the undefined database bug again :( i already made a post on https://repl.it/bugs/p/database-url-returns-undefined but now i think i know the issue

ironblockhd (419)

Works again now for some reason lol