mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-09 22:20:48 +01:00
- Route `/assets` -> `build/public`, falling back on `public` - Moved destinations for `nodebb.min.js`, `acp.min.js`, `admin.css`, `stylesheet.css`, `templates`, and `sounds` to `build/public` - r.js modules previously routed through express are now symlinked into `public/build/src/modules` - minfiles no longer served from a memory cache - use config `views_dir` setting everywhere template directory is used - fix cache buster `v=v=`
12 lines
245 B
JavaScript
12 lines
245 B
JavaScript
require.config({
|
|
baseUrl: config.relative_path + '/assets/src/modules',
|
|
waitSeconds: 7,
|
|
urlArgs: config['cache-buster'],
|
|
paths: {
|
|
'forum': '../client',
|
|
'admin': '../admin',
|
|
'vendor': '../../vendor',
|
|
'plugins': '../../plugins'
|
|
}
|
|
});
|