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