add ip in resume
This commit is contained in:
parent
d0af42f4f1
commit
5a04557085
|
@ -49,6 +49,8 @@ export class Base extends Component {
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
*/
|
*/
|
||||||
|
data.ip ?
|
||||||
|
(data.ip + '@blek.codes $') :
|
||||||
'$ '
|
'$ '
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@ async function services(req, res) {
|
||||||
|
|
||||||
async function resume(req, res) {
|
async function resume(req, res) {
|
||||||
res.template('page/resume.pug');
|
res.template('page/resume.pug');
|
||||||
|
console.log(process.env.APP_DEBUG);
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = (router) => {
|
module.exports = (router) => {
|
||||||
|
|
|
@ -91,6 +91,10 @@ html(style='overflow-y:auto' lang='en_US')
|
||||||
//- global js
|
//- global js
|
||||||
script(src='/static/js/main.js')
|
script(src='/static/js/main.js')
|
||||||
script(type='text/javascript').
|
script(type='text/javascript').
|
||||||
|
var data = {
|
||||||
|
ip: '#{req.ip}'
|
||||||
|
}
|
||||||
|
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
alert('Congratulations! You have spent 10 years on this page. Go fuck yourself.\n\nUwU');
|
alert('Congratulations! You have spent 10 years on this page. Go fuck yourself.\n\nUwU');
|
||||||
}, 1000 * 60 * 60 * 24 * 365 * 10);
|
}, 1000 * 60 * 60 * 24 * 365 * 10);
|
||||||
|
|
Loading…
Reference in New Issue