mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 21:19:13 +00:00
8 lines
253 B
JavaScript
8 lines
253 B
JavaScript
![]() |
try {
|
||
|
// In production, we expect it co-located
|
||
|
module.exports = require('./matrix-hookshot-rs.node');
|
||
|
} catch (ex) {
|
||
|
// When running under ts-node, it may not be co-located.
|
||
|
module.exports = require('../lib/matrix-hookshot-rs.node');
|
||
|
}
|