am calling canvas api

This commit is contained in:
2024-09-09 21:46:44 -06:00
parent 099eaedfd7
commit b7eaae0ea4
13 changed files with 204 additions and 66 deletions

View File

@@ -1,6 +1,13 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
async rewrites() {
return [
{
source: '/api/canvas/:rest*',
destination: 'https://snow.instructure.com/api/v1/:rest*',
},
]
},
};
export default nextConfig;