mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-26 01:09:56 +01:00
Additional base URLs were necessary for benchpress and translator, and in order to not clutter the API response with needless one- time use base URLs, I decided to use a single base that is used by all of the services, assetBaseUrl.
14 lines
246 B
JavaScript
14 lines
246 B
JavaScript
'use strict';
|
|
|
|
require.config({
|
|
baseUrl: config.assetBaseUrl + '/src/modules',
|
|
waitSeconds: 0,
|
|
urlArgs: config['cache-buster'],
|
|
paths: {
|
|
forum: '../client',
|
|
admin: '../admin',
|
|
vendor: '../../vendor',
|
|
plugins: '../../plugins',
|
|
},
|
|
});
|