-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
29 lines (26 loc) · 844 Bytes
/
config.js
File metadata and controls
29 lines (26 loc) · 844 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
const { hostname, platform } = require('os');
const whichPlatform = platform() === 'darwin' ? 'MAC' : 'win32';
const config = {
LINE_DOMAIN: 'gfs.line.naver.jp',
// LINE_DOMAIN: 'gd2.line.naver.jp',
LINE_OS_URL: 'os.line.naver.jp',
LINE_HTTP_URL: '/api/v4/TalkService.do',
LINE_STICKER_URL: 'dl.stickershop.line.naver.jp/products/',
LINE_POLL_URL: '/P3',
LINE_COMMAND_PATH: '/S3',
LINE_CERTIFICATE_URL: '/Q',
LINE_SHOP_PATH: '/SHOP4',
LINE_SESSION_LINE_URL: '/authct/v1/keys/line',
LINE_SESSION_NAVER_URL: '/authct/v1/keys/naver',
LINE_POST_CONTENT_URL: 'https://os.line.naver.jp/talk/m/upload.nhn',
ip: '127.0.0.1',
version: '0.0.2',
revision: 0,
hostname: hostname(),
platform: whichPlatform,
EMAIL_REGEX: /[^@]+@[^@]+\.[^@]+/,
Headers: {
'User-Agent':'Alfath Dirk'
}
};
module.exports = config;