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