node-wsjtx-companion – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 // Main configuration file.
2 module.exports = {
3 // HAM related settings.
4 ham: {
5 // Your own callsign.
6 me: 'XX0XXX',
7 udpPort: 2237,
8 // The QSL template to use for substitution.
9 qslTemplate: 'qsl.txt',
10 qslTemplateMap: {
11 'this': 'XXXXXXXXXXX',
12 'call': 'AAAAAAAAAAAAAAAA',
13 'date': 'DDDDDDDDDDDDDDDD',
14 'conn': 'FFFFFFFFFFFFFFFF',
15 'sign': 'SSSSSSSSSSSSSSSS'
16 }
17 },
18 // Network related settings.
19 net: {
20 // The address or hostname that the HTTP server will be listening on.
21 address: '0.0.0.0',
22 // The port that the HTTP server will be listening on.
23 port: 8070,
24 },
25 log: {
26 // The relative path to where to place the server log file.
27 file: 'logs/server.log',
28 },
29 // Authentication settings.
30 auth: {
31 // The web locations that require authentication.
32 locations: [
33 '/admin/'
34 ],
35 // The authentication realm.
36 realm: 'QSL',
37 // The path to the password digset file containing users and passwords.
38 digest: 'auth/htpasswd',
39 },
40 site: {
41 // The document index that will be served when a directory is requested.
42 index: 'index.html',
43 // The web locations for which sending a directory index is allowed.
44 indexing: [
45 '/qsl'
46 ],
47 // Any file matching these regular expressions will be offered.
48 accept: [
49 /^.+\.txt$/,
50 /^.+\.html$/,
51 /^.+\.css$/,
52 /^.+\.js$/,
53 /^.*\.map$/
54 ],
55 // Any files matching these regular expressions will never be offered.
56 reject: [
57 /^\.bashrc$/
58 ],
59 // URL re-writing.
60 rewrite: {
61 //'index.html' : /^\/((?!(bower_components|js|css|img|doc))|\/)(.+?)$/g
62 },
63 // The name of the website.
64 name: 'QSL',
65 },
66 ssl: {
67 // Whether to enable HTTPs through SSL.
68 enable: false,
69 // The size of the key to generate for SSL.
70 privateKeySize: 1024,
71 // The address or hostname that the HTTPs server will be listening on.
72 address: 'localhost',
73 // The port that the HTTPs server will be listening on.
74 port: 8080
75 },
76 configuration: {
77 // Whether to enable sending the server configuration.
78 enable: false,
79 // The relative path that must be accessed to retrieve the configuration.
80 path: '/configuration'
81 }
82 }