Index
joshstock.in
/
3fb40db
Source for serving and static templating/compiling of https://joshstock.in.
Download
|
Refs
|
Commit Log
|
Files
|
README
|
LICENSE
Latest Commit
{#}
Time
Hash
Subject
Author
#
(+)
(-)
GPG?
73
20 Jan 2020 21:49
9b4a3f1
Begin gitpager rewrite
Josh Stockin
1
6
0
N
Blob @
joshstock.in
/
gitpager
/
src
/
pathFix.js
application/javascript
153 bytes
download raw
1
const
path
=
require
(
'path'
);
2
const
rootDir
=
path
.
resolve
(
__dirname
,
".."
);
3
4
module
.
exports
=
function
(
local
) {
5
return
path
.
resolve
(
rootDir
,
local
);
6
}
7