mirror of
https://github.com/discourse/discourse.git
synced 2024-12-04 06:53:46 +08:00
12 lines
178 B
JavaScript
12 lines
178 B
JavaScript
|
import RESTAdapter from "discourse/adapters/rest";
|
||
|
|
||
|
export default RESTAdapter.extend({
|
||
|
basePath() {
|
||
|
return "/admin/api/";
|
||
|
},
|
||
|
|
||
|
apiNameFor() {
|
||
|
return "key";
|
||
|
}
|
||
|
});
|