mirror of
https://github.com/flarum/core.git
synced 2025-07-31 05:30:38 +02:00
Initial refactor of client actions, data preloading, SEO
An initial stab at flarum/core#126. Still WIP. Preliminary implementation of flarum/core#128 and flarum/core#13.
This commit is contained in:
@@ -38,7 +38,7 @@ export default class Store {
|
||||
}
|
||||
return app.request({
|
||||
method: 'GET',
|
||||
url: app.config['api_url']+'/'+endpoint,
|
||||
url: app.forum.attribute('apiUrl')+'/'+endpoint,
|
||||
data: params,
|
||||
background: true,
|
||||
config: app.session.authorize.bind(app.session)
|
||||
|
Reference in New Issue
Block a user