-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
63 lines (51 loc) · 2.13 KB
/
config.js
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/*
* Buzz - The Social LMS (https://www.buzzlms.de)
* © 2017 Dennis Schulmeister-Zimolong <dennis@pingu-mail.de>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*/
"use strict";
// Local configuration for a single installation of this web app.
// See the inline comments for possible options.
let config = {
// Page title
title: "Buzz Light",
// Base path where your website sits on the server (prefix for the
// url configuration, e.g. "/subsdir").
basePath: "",
// We don't really care for older browsers withouth HTML5 History API.
// However hashbang based routing (with an # in the URL) makes life easier
// during development. It's safe to set this value to false in production
// as it makes for pretier URLs.
hashBang: true,
// Set to false once you go into production. When set to true it is possible
// to test the 404 and 500 screen via the URLs /404/ and /500/.
developmentMode: true,
// URL where the user gets redirects to when requesting the home page
home: "/course/overview/",
// URL of your external website
website: "https://www.github.com/DennisSchulmeister/buzz-light",
// URL prefix from where all static course files are served
// Don't change to "/course" because this will conflict with the URL
// scheme of the single page router! This URL is only used "internally"
// to get the course definition and static files.
courseUrlPrefix: "/courses",
// Available courses (sub-directories below static/courses or in a production
// environmant sub-paths below the courses/ URL path)
courses: [
"overview",
"buzz-tutorial",
"vertsys",
"webprog",
],
// Default language (leave empty for auto-detect)
language: "",
// Timeout in mili-seconds after which global messages (toasts) disappear
toastTimeout: 25000,
// Additional plugin classes
plugins: [],
};
export default config;