mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 23:24:04 +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";
|
|
},
|
|
});
|