mirror of
https://github.com/discourse/discourse.git
synced 2024-12-03 11:03:37 +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";
|
|
}
|
|
});
|