mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 13:33:40 +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";
|
|
},
|
|
});
|