mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 14:20:31 +08:00
14 lines
198 B
JavaScript
14 lines
198 B
JavaScript
import RESTAdapter from "discourse/adapters/rest";
|
|
|
|
export default RESTAdapter.extend({
|
|
jsonMode: true,
|
|
|
|
basePath() {
|
|
return "/admin/api/";
|
|
},
|
|
|
|
apiNameFor() {
|
|
return "key";
|
|
},
|
|
});
|